CRISv10: fix serial driver proc-usage
commit9e040a3e915d0a3da6caa665da7a458973e8f33e
authorJesper Nilsson <Jesper.Nilsson@axis.com>
Thu, 30 Apr 2009 22:08:13 +0000 (30 15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 May 2009 22:36:09 +0000 (2 15:36 -0700)
tree12c54d2e26bd77b5c88f5e55d46728cb4d1a93d5
parentcf94a4d116fa7a1b81868d4b5410a41efe831a49
CRISv10: fix serial driver proc-usage

drivers/serial/crisv10.c:4428: error: unknown field 'read_proc' specified in initializer

Commit 0f043a81ebe84be3576667f04fdda481609e3816 ("proc tty: remove struct
tty_operations::read_proc") removes the read_proc entry from struct
tty_operations.

Rework the proc handling in the CRISv10 serial driver to use proc_fops
instead.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/crisv10.c