rt8366*: use __devinit instead of __init for the probe function to fix a section...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.36 / 209_watchdog_fix.patch
1 --- a/drivers/watchdog/ar71xx_wdt.c
2 +++ b/drivers/watchdog/ar71xx_wdt.c
3 @@ -197,7 +197,7 @@ static int ar71xx_wdt_ioctl(struct inode
4 static const struct file_operations ar71xx_wdt_fops = {
5 .owner = THIS_MODULE,
6 .write = ar71xx_wdt_write,
7 - .ioctl = ar71xx_wdt_ioctl,
8 + .unlocked_ioctl = ar71xx_wdt_ioctl,
9 .open = ar71xx_wdt_open,
10 .release = ar71xx_wdt_release,
11 };