diff options
author | John Crispin <john@openwrt.org> | 2012-10-17 22:45:58 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-10-17 22:45:58 +0000 |
commit | a34499e09569241a21203c1327f3bfa8a888584f (patch) | |
tree | 9365698437d0b2ef8cfe715d9c9e8d5434d63353 /package/ep80579-drivers/patches/712-3.3-can-fixes.patch | |
parent | 965710d3e17738006bb22f01584cfe56319ceac1 (diff) | |
download | upstream-a34499e09569241a21203c1327f3bfa8a888584f.tar.gz upstream-a34499e09569241a21203c1327f3bfa8a888584f.tar.bz2 upstream-a34499e09569241a21203c1327f3bfa8a888584f.zip |
move lots of kernel related packages to the new system/ folder
SVN-Revision: 33830
Diffstat (limited to 'package/ep80579-drivers/patches/712-3.3-can-fixes.patch')
-rw-r--r-- | package/ep80579-drivers/patches/712-3.3-can-fixes.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/package/ep80579-drivers/patches/712-3.3-can-fixes.patch b/package/ep80579-drivers/patches/712-3.3-can-fixes.patch deleted file mode 100644 index 06a09e5139..0000000000 --- a/package/ep80579-drivers/patches/712-3.3-can-fixes.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/Embedded/src/CAN/can_main.c -+++ b/Embedded/src/CAN/can_main.c -@@ -72,6 +72,7 @@ - #include "can_main.h" - #include "can_ioctl.h" - #include <linux/fs.h> -+#include <linux/module.h> - - - MODULE_AUTHOR("Intel(R) Corporation"); -@@ -110,7 +111,7 @@ struct file_operations file_ops = { - .owner = THIS_MODULE, - .read = can_read, - .write = can_write, -- .ioctl = can_dev_io, -+ .unlocked_ioctl = can_dev_io, - .open = can_open, - .release = can_release - }; -@@ -594,8 +595,7 @@ int icp_can_reset(can_os_t *can_os) - /***************************************************************************** - * Device IO control function. Used by user apps to configure CAN device. - *****************************************************************************/ --int can_dev_io(struct inode *inode, struct file *filp, unsigned int cmd, -- unsigned long arg) -+long can_dev_io(struct file *filp, unsigned int cmd, unsigned long arg) - { - can_os_t *can_os; - unsigned int err=0; ---- a/Embedded/src/CAN/can_main.h -+++ b/Embedded/src/CAN/can_main.h -@@ -157,8 +157,7 @@ ssize_t can_write( - int icp_can_reset( - can_os_t *can_os); - --int can_dev_io( -- struct inode *inode, -+long can_dev_io( - struct file *filp, - unsigned int cmd, - unsigned long arg); |