From 5bf8128fbde6d9bcfd8c9590033790c8db20d5dd Mon Sep 17 00:00:00 2001 From: acoul Date: Fri, 8 Oct 2010 12:15:18 +0000 Subject: [PATCH] linux/ar71xx: (2.6.36) add a missed patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23319 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ar71xx/patches-2.6.36/209_watchdog_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/ar71xx/patches-2.6.36/209_watchdog_fix.patch diff --git a/target/linux/ar71xx/patches-2.6.36/209_watchdog_fix.patch b/target/linux/ar71xx/patches-2.6.36/209_watchdog_fix.patch new file mode 100644 index 000000000..f0f37f41e --- /dev/null +++ b/target/linux/ar71xx/patches-2.6.36/209_watchdog_fix.patch @@ -0,0 +1,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, + };