diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-06-27 14:26:56 +0100 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-10-28 11:15:29 +0200 |
commit | e3feeb658cd45fd7a5149353741d3afcf5dd44fa (patch) | |
tree | 818f14e6ce583d827eaf94cf70e3a87f0b0886ce /arch/x86/Kbuild | |
parent | cdb3496595cd4bfa9836bf554edef5e43016b62e (diff) |
SERIAL: SC26xx: Fix link error.
commit f2eb3cdf14457fccb14ae8c4d7d7cee088cd3957 upstream.
Kconfig allows enabling console support for the SC26xx driver even when
it's configured as a module resulting in a:
ERROR: "uart_console_device" [drivers/tty/serial/sc26xx.ko] undefined!
modpost error since the driver was merged in
eea63e0e8a60d00485b47fb6e75d9aa2566b989b [SC26XX: New serial driver for
SC2681 uarts] in 2.6.25. Fixed by only allowing console support to be
enabled if the driver is builtin.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: I6e4dcfd3b5e941b28685623a1e00e39288b3fcf3
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35666
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/x86/Kbuild')
0 files changed, 0 insertions, 0 deletions