[patch] ssb: fix build failure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Buesch <mb@...>
Cc: Al Viro <viro@...>, <gregkh@...>, David Brownell <dbrownell@...>, John W. Linville <linville@...>, <linux-kernel@...>
Date: Monday, October 15, 2007 - 9:56 am

* Ingo Molnar <mingo@elte.hu> wrote:


the patch below fixes it for me. PCI seems to have a similar bug as 
well.

	Ingo

----------------->
Subject: ssb: fix build failure
From: Ingo Molnar <mingo@elte.hu>

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>
---
 drivers/ssb/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux/drivers/ssb/Kconfig
===================================================================
--- linux.orig/drivers/ssb/Kconfig
+++ linux/drivers/ssb/Kconfig
@@ -22,7 +22,7 @@ config SSB
 
 config SSB_PCIHOST_POSSIBLE
 	bool
-	depends on SSB && PCI
+	depends on SSB && (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 = SSB) && EXPERIMENTAL
 	default y
 
 config SSB_PCMCIAHOST
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[bug] usb build failure, latest -git, Ingo Molnar, (Sat Oct 13, 11:29 pm)
Re: [bug] usb build failure, latest -git, Michael Buesch, (Sun Oct 14, 5:32 am)
Re: [bug] usb build failure, latest -git, Gabriel C, (Sat Oct 13, 11:40 pm)
Re: [bug] usb build failure, latest -git, Al Viro, (Sat Oct 13, 11:35 pm)
Re: [bug] usb build failure, latest -git, Ingo Molnar, (Mon Oct 15, 6:53 am)
Re: [bug] usb build failure, latest -git, Michael Buesch, (Mon Oct 15, 8:58 am)
[build bug] drivers/ssb build failure, latest -git, Ingo Molnar, (Mon Oct 15, 9:50 am)
Re: [build bug] drivers/ssb build failure, latest -git, Ingo Molnar, (Mon Oct 15, 1:38 pm)
[patch] usb: fix ssb_ohci_probe() build bug, Ingo Molnar, (Mon Oct 15, 1:43 pm)
Re: [patch] usb: fix ssb_ohci_probe() build bug, Michael Buesch, (Mon Oct 15, 2:08 pm)
Re: [patch] usb: fix ssb_ohci_probe() build bug, Ingo Molnar, (Wed Oct 24, 3:46 pm)
Re: [patch] usb: fix ssb_ohci_probe() build bug, Greg KH, (Wed Oct 24, 4:21 pm)
[patch] ssb: fix build failure, Ingo Molnar, (Mon Oct 15, 9:56 am)
Re: [bug] usb build failure, latest -git, Ingo Molnar, (Sun Oct 14, 12:04 am)