summaryrefslogtreecommitdiff
path: root/target/linux/omap24xx/patches-2.6.36/500-cbus.patch
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-18 18:14:17 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-18 18:14:17 +0000
commit659f65623734f0b54be8153672c978bea1eb94fc (patch)
treeaf8aed136b88ef7a07a3a34a498a2a8b771bca1e /target/linux/omap24xx/patches-2.6.36/500-cbus.patch
parent0aeafa66af816e3649faea3d90b32f5075545a5c (diff)
omap24xx cbus: fix ioctls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23083 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.36/500-cbus.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.36/500-cbus.patch23
1 files changed, 10 insertions, 13 deletions
diff --git a/target/linux/omap24xx/patches-2.6.36/500-cbus.patch b/target/linux/omap24xx/patches-2.6.36/500-cbus.patch
index 8c9ed55d7d..91c8ac076b 100644
--- a/target/linux/omap24xx/patches-2.6.36/500-cbus.patch
+++ b/target/linux/omap24xx/patches-2.6.36/500-cbus.patch
@@ -8,16 +8,16 @@
drivers/cbus/retu-headset.c | 356 ++++++++++++++++++
drivers/cbus/retu-pwrbutton.c | 118 ++++++
drivers/cbus/retu-rtc.c | 477 ++++++++++++++++++++++++
- drivers/cbus/retu-user.c | 425 ++++++++++++++++++++++
- drivers/cbus/retu-wdt.c | 388 ++++++++++++++++++++
+ drivers/cbus/retu-user.c | 424 ++++++++++++++++++++++
+ drivers/cbus/retu-wdt.c | 387 ++++++++++++++++++++
drivers/cbus/retu.c | 468 ++++++++++++++++++++++++
drivers/cbus/retu.h | 77 ++++
drivers/cbus/tahvo-usb.c | 788 +++++++++++++++++++++++++++++++++++++++++
- drivers/cbus/tahvo-user.c | 407 +++++++++++++++++++++
+ drivers/cbus/tahvo-user.c | 406 +++++++++++++++++++++
drivers/cbus/tahvo.c | 443 +++++++++++++++++++++++
drivers/cbus/tahvo.h | 61 +++
drivers/cbus/user_retu_tahvo.h | 75 +++
- 18 files changed, 4536 insertions(+), 1 deletion(-)
+ 18 files changed, 4533 insertions(+), 1 deletion(-)
--- /dev/null
+++ linux-2.6.36-rc4/drivers/cbus/cbus.c
@@ -1992,7 +1992,7 @@
+MODULE_AUTHOR("Paul Mundt and Igor Stoppa");
--- /dev/null
+++ linux-2.6.36-rc4/drivers/cbus/retu-user.c
-@@ -0,0 +1,425 @@
+@@ -0,0 +1,424 @@
+/**
+ * drivers/cbus/retu-user.c
+ *
@@ -2265,8 +2265,7 @@
+/*
+ * Device control (ioctl)
+ */
-+static int retu_ioctl(struct inode *inode, struct file *filp,
-+ unsigned int cmd, unsigned long arg)
++static long retu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
+{
+ struct retu_tahvo_write_parms par;
+ int ret;
@@ -2420,7 +2419,7 @@
+MODULE_AUTHOR("Mikko Ylinen");
--- /dev/null
+++ linux-2.6.36-rc4/drivers/cbus/retu-wdt.c
-@@ -0,0 +1,388 @@
+@@ -0,0 +1,387 @@
+/**
+ * drivers/cbus/retu-wdt.c
+ *
@@ -2609,8 +2608,7 @@
+ return len;
+}
+
-+static int retu_wdt_ioctl(struct inode *inode, struct file *file,
-+ unsigned int cmd, unsigned long arg)
++static long retu_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
+{
+ int new_margin;
+
@@ -4112,7 +4110,7 @@
+MODULE_AUTHOR("Juha Yrjölä, Tony Lindgren, and Timo Teräs");
--- /dev/null
+++ linux-2.6.36-rc4/drivers/cbus/tahvo-user.c
-@@ -0,0 +1,407 @@
+@@ -0,0 +1,406 @@
+/**
+ * drivers/cbus/tahvo-user.c
+ *
@@ -4369,8 +4367,7 @@
+/*
+ * Device control (ioctl)
+ */
-+static int tahvo_ioctl(struct inode *inode, struct file *filp,
-+ unsigned int cmd, unsigned long arg)
++static long tahvo_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
+{
+ struct retu_tahvo_write_parms par;
+ int ret;