Skip to content

Commit

Permalink
tty: fix a build failure on sparc
Browse files Browse the repository at this point in the history
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 9bef3d4
(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>
  • Loading branch information
Cong Wang authored and Greg Kroah-Hartman committed Feb 3, 2012
1 parent 7ccfe01 commit e7c9bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/8250/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "8250.h"

#ifdef CONFIG_SPARC
#include "suncore.h"
#include "../suncore.h"
#endif

/*
Expand Down

0 comments on commit e7c9bba

Please sign in to comment.