From: David S. Miller Date: Thu, 31 Mar 2011 04:11:35 +0000 (-0700) Subject: apbuart: Depend upon sparc. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6cd7a63756a68ad5e718b42aa108e27c19425743;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git apbuart: Depend upon sparc. It absolutely needs to be able to get at pdev_archdata members which are sparc specific. Signed-off-by: David S. Miller Reported-by: Stephen Rothwell --- diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index e1aee37270f5..80484af781e1 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1506,7 +1506,7 @@ config SERIAL_BCM63XX_CONSOLE config SERIAL_GRLIB_GAISLER_APBUART tristate "GRLIB APBUART serial support" - depends on OF + depends on OF && SPARC select SERIAL_CORE ---help--- Add support for the GRLIB APBUART serial port.