]> git.baikalelectronics.ru Git - kernel.git/commit
CRISv10: fix serial driver proc-usage
authorJesper Nilsson <Jesper.Nilsson@axis.com>
Thu, 30 Apr 2009 22:08:13 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 May 2009 22:36:09 +0000 (15:36 -0700)
commit91f65096d1550c64db77363dfa440221b35fef18
tree12c54d2e26bd77b5c88f5e55d46728cb4d1a93d5
parentaf6ce3118d5c25433d6a29268d3fb6a336592749
CRISv10: fix serial driver proc-usage

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

Commit 9ea41af2fc92c2a457f16bafd07aaca688f6f611 ("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