]> Git Repo - linux.git/commitdiff
misc: ibmasm: fix build errors
authorRandy Dunlap <[email protected]>
Wed, 20 Jan 2016 22:58:21 +0000 (14:58 -0800)
committerLinus Torvalds <[email protected]>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
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 <[email protected]>
Cc: Max Asbock <[email protected]>
Cc: Vernon Mauery <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/misc/Kconfig

index 22892c701c63b8e650fc7a6323934ca13385382b..054fc10cb3b6ab5a6b5f9d51b2ded3bb656cbf4e 100644 (file)
@@ -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.
This page took 0.058599 seconds and 4 git commands to generate.