ssb: fix build failure
PATCH 1/1 ssb: fix build failure
From: Ingo Molnar <[email protected]>
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 <[email protected]>
Signed-off-by Michael Buesch <[email protected]>
--- drivers/ssb/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/ssb/Kconfig +2 -2
@@ -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
-------------------------------------------------------
Signature · 1 line
Greetings Michael.
Quoted 11 lines · Michael Buesch
From: Ingo Molnar <[email protected]>
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 <[email protected]>Signed-off-by Michael Buesch <[email protected]>
Quoted 31 lines
--- drivers/ssb/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Index: linux/drivers/ssb/Kconfig
===================================================================drivers/ssb/Kconfig +2
-3@@ -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 -------------------------------------------------------
Signature · 1 line
~Randy