cleanup files using checkpatch.pl
[openwrt/openwrt.git] / target / linux / adm5120 / patches-2.6.38 / 930-2_6_36_ports.patch
index 1d09b02680a5556f0637941c3d22cddf31664b25..33e7c715d9da503244e455162ce2c5d64ba58355 100644 (file)
  #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