summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch
blob: bad20e387a62235220c8993e17e237c28cf35e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/watchdog/ar2315-wtd.c
+++ b/drivers/watchdog/ar2315-wtd.c
@@ -132,7 +132,7 @@ static struct file_operations ar2315_wdt
 	.owner		= THIS_MODULE,
 	.llseek		= no_llseek,
 	.write		= ar2315_wdt_write,
-	.ioctl		= ar2315_wdt_ioctl,
+	.unlocked_ioctl	= ar2315_wdt_ioctl,
 	.open		= ar2315_wdt_open,
 	.release	= ar2315_wdt_release,
 };