[PATCH -next] misc: ibmasm: fix build errors

From: Randy Dunlap
Date: Thu Dec 17 2015 - 14:13:24 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix build when CONFIG_SERIAL_8250=m and CONFIG_IBM_ASM=y.

Fixes these build errors:

drivers/built-in.o: In function `ibmasm_remove_one':
module.c:(.text+0xf6874): undefined reference to `ibmasm_unregister_uart'
drivers/built-in.o: In function `ibmasm_init_one':
module.c:(.text+0xf6c37): undefined reference to `ibmasm_register_uart'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Max Asbock <masbock@xxxxxxxxxx>
Cc: Vernon Mauery <vernux@xxxxxxxxxx>
---
drivers/misc/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20151217.orig/drivers/misc/Kconfig
+++ linux-next-20151217/drivers/misc/Kconfig
@@ -95,6 +95,7 @@ config DUMMY_IRQ
config IBM_ASM
tristate "Device driver for IBM RSA service processor"
depends on X86 && PCI && INPUT
+ depends on SERIAL_8250 || SERIAL_8250=n
---help---
This option enables device driver support for in-band access to the
IBM RSA (Condor) service processor in eServer xSeries systems.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/