[etrax] patches for 2.6.28
[openwrt.git] / target / linux / etrax / patches-2.6.28 / 600-fix_serial_cris.patch
1 Index: linux-2.6.28.9/drivers/serial/crisv10.c
2 ===================================================================
3 --- linux-2.6.28.9.orig/drivers/serial/crisv10.c 2009-04-08 16:47:06.000000000 +0200
4 +++ linux-2.6.28.9/drivers/serial/crisv10.c 2009-04-08 16:47:27.000000000 +0200
5 @@ -28,6 +28,7 @@
6 #include <linux/mutex.h>
7 #include <linux/bitops.h>
8 #include <linux/device.h>
9 +#include <linux/proc_fs.h>
10
11 #include <asm/io.h>
12 #include <asm/irq.h>
13 @@ -4389,7 +4390,6 @@
14 .break_ctl = rs_break,
15 .send_xchar = rs_send_xchar,
16 .wait_until_sent = rs_wait_until_sent,
17 - .read_proc = rs_read_proc,
18 .tiocmget = rs_tiocmget,
19 .tiocmset = rs_tiocmset
20 };
21 @@ -4455,7 +4455,7 @@
22 if (tty_register_driver(driver))
23 panic("Couldn't register serial driver\n");
24 /* do some initializing for the separate ports */
25 -
26 + driver->proc_entry->read_proc = rs_read_proc;
27 for (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
28 if (info->enabled) {
29 if (cris_request_io_interface(info->io_if,
This page took 0.038865 seconds and 5 git commands to generate.