aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-06-12 19:17:57 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-06-12 19:17:57 +0000
commit3d41f1652c8ab4b0bdd59efea57747b75130e8d3 (patch)
tree7dcda6dd00b39a1cf0a038df25cca76a1b213a09 /target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch
parent24e4b5bc83d830fd5299ccc9265f56d2ae12c4c8 (diff)
downloadupstream-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.tar.gz
upstream-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.tar.bz2
upstream-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.zip
[adm5120] cleanup files using checkpatch.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27162 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch')
-rw-r--r--target/linux/adm5120/patches-2.6.38/930-2_6_36_ports.patch16
1 files changed, 8 insertions, 8 deletions
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 1d09b02680..33e7c715d9 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