diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2009-04-09 16:21:56 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2009-04-09 16:21:56 +0000 |
commit | 4dd7a65697af641f080c07b21cee1a56999d112f (patch) | |
tree | f2ee4ff0827e1087392345f2fd7c2c7322b4f598 /target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch | |
parent | d2042b0ef4549f8b1ab0e33d8c8f55abd68ae4ae (diff) | |
download | upstream-4dd7a65697af641f080c07b21cee1a56999d112f.tar.gz upstream-4dd7a65697af641f080c07b21cee1a56999d112f.tar.bz2 upstream-4dd7a65697af641f080c07b21cee1a56999d112f.zip |
patches for 2.6.28
SVN-Revision: 15174
Diffstat (limited to 'target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch')
-rw-r--r-- | target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch b/target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch new file mode 100644 index 0000000000..0c54b7b886 --- /dev/null +++ b/target/linux/etrax/patches-2.6.28/600-fix_serial_cris.patch @@ -0,0 +1,29 @@ +Index: linux-2.6.28.9/drivers/serial/crisv10.c +=================================================================== +--- linux-2.6.28.9.orig/drivers/serial/crisv10.c 2009-04-08 16:47:06.000000000 +0200 ++++ linux-2.6.28.9/drivers/serial/crisv10.c 2009-04-08 16:47:27.000000000 +0200 +@@ -28,6 +28,7 @@ + #include <linux/mutex.h> + #include <linux/bitops.h> + #include <linux/device.h> ++#include <linux/proc_fs.h> + + #include <asm/io.h> + #include <asm/irq.h> +@@ -4389,7 +4390,6 @@ + .break_ctl = rs_break, + .send_xchar = rs_send_xchar, + .wait_until_sent = rs_wait_until_sent, +- .read_proc = rs_read_proc, + .tiocmget = rs_tiocmget, + .tiocmset = rs_tiocmset + }; +@@ -4455,7 +4455,7 @@ + if (tty_register_driver(driver)) + panic("Couldn't register serial driver\n"); + /* do some initializing for the separate ports */ +- ++ driver->proc_entry->read_proc = rs_read_proc; + for (i = 0, info = rs_table; i < NR_PORTS; i++,info++) { + if (info->enabled) { + if (cris_request_io_interface(info->io_if, |