]> git.baikalelectronics.ru Git - kernel.git/commit
tty: fix a build failure on sparc
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 3 Feb 2012 05:22:10 +0000 (13:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 19:26:07 +0000 (11:26 -0800)
commit4841e8bec9a7f728872dd06c781ca210bb434cb1
treeeaaced6c1557479ba97a6e3b9d73fa0474a85150
parent1ae7aabb364db9bff2a4789806564beda6557b1b
tty: fix a build failure on sparc

On sparc, there is a build failure:

drivers/tty/serial/8250/8250.c:48:21: error: suncore.h: No such file or directory
drivers/tty/serial/8250/8250.c:3275: error: implicit declaration of function 'sunserial_register_minors'
drivers/tty/serial/8250/8250.c:3305: error: implicit declaration of function 'sunserial_unregister_minors'

this is due to commit 6a66d66a565eaece6f39c3c3a6d7138a75294d91
(serial: group all the 8250 related code together) moved these files
into 8250/ subdirectory, but forgot to change the reference
to drivers/tty/serial/suncore.h.

Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c