apbuart: Depend upon sparc.
authorDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 04:11:35 +0000 (21:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 04:12:24 +0000 (21:12 -0700)
It absolutely needs to be able to get at pdev_archdata members
which are sparc specific.

Signed-off-by: David S. Miller <davem@davemloft.net>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/tty/serial/Kconfig

index e1aee37..80484af 100644 (file)
@@ -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.