浏览代码

misc: ibmasm: fix build errors

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@infradead.org>
Cc: Max Asbock <masbock@us.ibm.com>
Cc: Vernon Mauery <vernux@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Randy Dunlap 9 年之前
父节点
当前提交
75339d825a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/misc/Kconfig

+ 1 - 0
drivers/misc/Kconfig

@@ -95,6 +95,7 @@ config DUMMY_IRQ
 config IBM_ASM
 config IBM_ASM
 	tristate "Device driver for IBM RSA service processor"
 	tristate "Device driver for IBM RSA service processor"
 	depends on X86 && PCI && INPUT
 	depends on X86 && PCI && INPUT
+	depends on SERIAL_8250 || SERIAL_8250=n
 	---help---
 	---help---
 	  This option enables device driver support for in-band access to the
 	  This option enables device driver support for in-band access to the
 	  IBM RSA (Condor) service processor in eServer xSeries systems.
 	  IBM RSA (Condor) service processor in eServer xSeries systems.