diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-06-27 14:26:56 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2011-08-01 13:55:04 -0700 |
commit | 552fe3d630bed45d7b75c76d12b61e458b587de0 (patch) | |
tree | f944f0c65f37a8c24192284ad20949463e0b4f10 /mm/internal.h | |
parent | 507e949027b3dc00f56a1c91b88c2d899e9eaea0 (diff) |
SERIAL: SC26xx: Fix link error.
[ upstream commit f2eb3cdf14457fccb14ae8c4d7d7cee088cd3957 ]
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
Cc: stable <stable@kernel.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions