From: Claudio Scordino Commit number 0f043a81ebe84be3576667f04fdda481609e3816 removed the read_proc field from the tty_driver structure. This broke cris serial driver compilation. Signed-off-by: Claudio Scordino --- drivers/serial/crisv10.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c index 7ba7d70..a331e40 100644 --- a/drivers/serial/crisv10.c +++ b/drivers/serial/crisv10.c @@ -27,6 +27,7 @@ static char *serial_version = "$Revision: 1.25 $"; #include #include #include +#include #include #include @@ -4425,7 +4426,6 @@ static const struct tty_operations rs_ops = { .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 }; @@ -4490,6 +4490,7 @@ rs_init(void) 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) { -- 1.5.4.3