2011-05-16 01:23:02 +08:00
|
|
|
--- a/drivers/cbus/retu-wdt.c
|
|
|
|
+++ b/drivers/cbus/retu-wdt.c
|
2011-03-04 23:40:32 +08:00
|
|
|
@@ -124,9 +124,9 @@ static int retu_wdt_release(struct inode
|
2011-03-03 00:20:58 +08:00
|
|
|
struct retu_wdt_dev *wdev = file->private_data;
|
|
|
|
|
|
|
|
#ifndef CONFIG_WATCHDOG_NOWAYOUT
|
|
|
|
- retu_wdt_ping_enable(retu_wdt);
|
|
|
|
+ retu_wdt_ping_enable(wdev);
|
|
|
|
#endif
|
|
|
|
- clear_bit(0, &retu_wdt->users);
|
|
|
|
+ clear_bit(0, &wdev->users);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|