Commit 36cbaa87 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[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: default avatarWim Van Sebroeck <wim@iguana.be>
parent 9229376e
...@@ -168,7 +168,7 @@ static const int heartbeat_tbl[] = { ...@@ -168,7 +168,7 @@ static const int heartbeat_tbl[] = {
static int cards_found; static int cards_found;
/* internal variables */ /* internal variables */
static atomic_t open_allowed = ATOMIC_INIT(1); static unsigned long open_allowed;
static char expect_close; static char expect_close;
static int temp_panic; static int temp_panic;
......
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