Skip to content

Commit

Permalink
[WATCHDOG] pcwd.c - fix open_allowed type.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wim Van Sebroeck committed Aug 10, 2008
1 parent 9229376 commit 36cbaa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/pcwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static const int heartbeat_tbl[] = {
static int cards_found;

/* internal variables */
static atomic_t open_allowed = ATOMIC_INIT(1);
static unsigned long open_allowed;
static char expect_close;
static int temp_panic;

Expand Down

0 comments on commit 36cbaa8

Please sign in to comment.