diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2008-08-10 17:57:03 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-08-10 17:57:03 -0400 |
commit | 36cbaa8777dd5a79cb56c2a3d7d56f0c80b2bab6 (patch) | |
tree | 6f69d07be655cad3894b6353e85daa1ebcb6e1b4 /drivers/watchdog/pcwd.c | |
parent | 9229376e9beba0dd449dd4869283545c1d042128 (diff) |
[WATCHDOG] pcwd.c - fix open_allowed type.
Fix following warnings:
drivers/watchdog/pcwd.c: In function 'pcwd_open':
drivers/watchdog/pcwd.c:703: warning: passing argument 2 of 'test_and_set_bit' from incompatible pointer type
drivers/watchdog/pcwd.c: In function 'pcwd_close':
drivers/watchdog/pcwd.c:723: warning: passing argument 2 of 'clear_bit' from incompatible pointer type
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/pcwd.c')
-rw-r--r-- | drivers/watchdog/pcwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pcwd.c b/drivers/watchdog/pcwd.c index 3b0ddc7fcf3f..9e1331a3b215 100644 --- a/drivers/watchdog/pcwd.c +++ b/drivers/watchdog/pcwd.c | |||
@@ -168,7 +168,7 @@ static const int heartbeat_tbl[] = { | |||
168 | static int cards_found; | 168 | static int cards_found; |
169 | 169 | ||
170 | /* internal variables */ | 170 | /* internal variables */ |
171 | static atomic_t open_allowed = ATOMIC_INIT(1); | 171 | static unsigned long open_allowed; |
172 | static char expect_close; | 172 | static char expect_close; |
173 | static int temp_panic; | 173 | static int temp_panic; |
174 | 174 | ||