Commit 996d62d4 authored by Florian Fainelli's avatar Florian Fainelli Committed by Wim Van Sebroeck

[WATCHDOG] Remove volatiles from watchdog device structures

Remove the volatile since those are useless in such a structure.
Signed-off-by: default avatarFlorian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent fa9363c5
...@@ -59,9 +59,9 @@ static int ticks = 10000; ...@@ -59,9 +59,9 @@ static int ticks = 10000;
static struct { static struct {
struct completion stop; struct completion stop;
volatile int running; int running;
struct timer_list timer; struct timer_list timer;
volatile int queue; int queue;
int default_ticks; int default_ticks;
unsigned long inuse; unsigned long inuse;
} cpu5wdt_device; } cpu5wdt_device;
......
...@@ -59,9 +59,9 @@ static int ticks = 100 * HZ; ...@@ -59,9 +59,9 @@ static int ticks = 100 * HZ;
static struct { static struct {
struct completion stop; struct completion stop;
volatile int running; int running;
struct timer_list timer; struct timer_list timer;
volatile int queue; int queue;
int default_ticks; int default_ticks;
unsigned long inuse; unsigned long inuse;
unsigned gpio; unsigned gpio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment