summaryrefslogtreecommitdiff
path: root/target/linux/omap24xx/patches-2.6.38/535-cbus-retu-wdt-cleanup.patch
blob: 05bcc918a285be2f4c6c32b4e92de4953d15dc4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/drivers/cbus/retu-wdt.c
+++ b/drivers/cbus/retu-wdt.c
@@ -124,9 +124,9 @@ static int retu_wdt_release(struct inode
 	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;
 }