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
6 #include <linux/mutex.h>
7 #include <linux/bitops.h>
8 #include <linux/device.h>
9 +#include <linux/proc_fs.h>
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
22 if (tty_register_driver(driver))
23 panic("Couldn't register serial driver\n");
24 /* do some initializing for the separate ports */
26 + driver->proc_entry->read_proc = rs_read_proc;
27 for (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
29 if (cris_request_io_interface(info->io_if,