linux/atheros: add 2.6.38 preliminary support
[openwrt/staging/yousong.git] / target / linux / atheros / patches-2.6.38 / 209-watchdog_fix.patch
1 --- a/drivers/watchdog/ar2315-wtd.c
2 +++ b/drivers/watchdog/ar2315-wtd.c
3 @@ -132,7 +132,7 @@ static struct file_operations ar2315_wdt
4 .owner = THIS_MODULE,
5 .llseek = no_llseek,
6 .write = ar2315_wdt_write,
7 - .ioctl = ar2315_wdt_ioctl,
8 + .unlocked_ioctl = ar2315_wdt_ioctl,
9 .open = ar2315_wdt_open,
10 .release = ar2315_wdt_release,
11 };