فهرست منبع

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 <davem@davemloft.net>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
David S. Miller 14 سال پیش
والد
کامیت
6cd7a63756
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/tty/serial/Kconfig

+ 1 - 1
drivers/tty/serial/Kconfig

@@ -1506,7 +1506,7 @@ config SERIAL_BCM63XX_CONSOLE
 
 
 config SERIAL_GRLIB_GAISLER_APBUART
 config SERIAL_GRLIB_GAISLER_APBUART
 	tristate "GRLIB APBUART serial support"
 	tristate "GRLIB APBUART serial support"
-	depends on OF
+	depends on OF && SPARC
 	select SERIAL_CORE
 	select SERIAL_CORE
 	---help---
 	---help---
 	Add support for the GRLIB APBUART serial port.
 	Add support for the GRLIB APBUART serial port.