X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dd21551c84c5d02de79ecdcc736e5a87b653e4a7..d2d50ad0de3e25c7ff27beb44a5fdf2db16b5e3a:/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch diff --git a/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch b/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch index 1d09b0268..33e7c715d 100644 --- a/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch +++ b/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch @@ -22,14 +22,14 @@ #define NO_IRQ (-1) --- a/drivers/watchdog/adm5120_wdt.c +++ b/drivers/watchdog/adm5120_wdt.c -@@ -167,7 +167,7 @@ static struct file_operations wdt_fops = - owner: THIS_MODULE, - llseek: no_llseek, - write: wdt_write, -- ioctl: wdt_ioctl, -+ unlocked_ioctl: wdt_ioctl, - open: wdt_open, - release: wdt_release, +@@ -166,7 +166,7 @@ static const struct file_operations wdt_ + .owner = THIS_MODULE, + .llseek = no_llseek, + .write = wdt_write, +- .ioctl = wdt_ioctl, ++ .unlocked_ioctl = wdt_ioctl, + .open = wdt_open, + .release = wdt_release, }; --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms