mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[WATCHDOG] Remove volatiles from watchdog device structures
Remove the volatile since those are useless in such a structure. Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
fa9363c5f8
commit
996d62d449
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue