]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[PATCH] ssb: fix build failure
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:23:21 +0000 (17:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 17 Oct 2007 01:04:11 +0000 (21:04 -0400)
fix build failure if PCMCIA=m but SSB=y:

drivers/built-in.o: In function `ssb_pcmcia_switch_coreidx':
: undefined reference to `pcmcia_access_configuration_register'

(fix symmetric bug for PCI too.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/Kconfig

index b4a5e5e9d9fc4bd15ae52a9d78a9700ff3ee2cf8..d976660cb7f07902f70215d530a89008ae9ed4a6 100644 (file)
@@ -22,7 +22,7 @@ config SSB
 
 config SSB_PCIHOST_POSSIBLE
        bool
-       depends on SSB && PCI
+       depends on SSB && (PCI = y || PCI = SSB)
        default y
 
 config SSB_PCIHOST
@@ -37,7 +37,7 @@ config SSB_PCIHOST
 
 config SSB_PCMCIAHOST_POSSIBLE
        bool
-       depends on SSB && PCMCIA && EXPERIMENTAL
+       depends on SSB && (PCMCIA = y || PCMCIA = SSB) && EXPERIMENTAL
        default y
 
 config SSB_PCMCIAHOST