summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-2.6.36/209_watchdog_fix.patch
blob: f0f37f41eaac037c1fa987ba32c9592242c484f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/watchdog/ar71xx_wdt.c
+++ b/drivers/watchdog/ar71xx_wdt.c
@@ -197,7 +197,7 @@ static int ar71xx_wdt_ioctl(struct inode
 static const struct file_operations ar71xx_wdt_fops = {
 	.owner		= THIS_MODULE,
 	.write		= ar71xx_wdt_write,
-	.ioctl		= ar71xx_wdt_ioctl,
+	.unlocked_ioctl	= ar71xx_wdt_ioctl,
 	.open		= ar71xx_wdt_open,
 	.release	= ar71xx_wdt_release,
 };