diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2012-02-03 00:22:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-03 14:26:07 -0500 |
commit | e7c9bba7999a8e55efb96d4279c025ca587c5ecd (patch) | |
tree | eaaced6c1557479ba97a6e3b9d73fa0474a85150 /drivers/tty | |
parent | 7ccfe015a6e7f01734963f51b0f67126e21068ce (diff) |
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 9bef3d4197379a995fa80f81950bbbf8d32e9e8b
(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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250/8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c index 9f50c4e3c2be..9b7336fcfbb3 100644 --- a/drivers/tty/serial/8250/8250.c +++ b/drivers/tty/serial/8250/8250.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include "8250.h" | 45 | #include "8250.h" |
46 | 46 | ||
47 | #ifdef CONFIG_SPARC | 47 | #ifdef CONFIG_SPARC |
48 | #include "suncore.h" | 48 | #include "../suncore.h" |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | /* | 51 | /* |