You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/atheros/patches-3.3/209_watchdog_fix.patch

12 lines
345 B
Diff

--- 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,
};