[PATCH] SSB: make it depend on PCI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Frysinger
Date: Thursday, November 6, 2008 - 2:51 am

Since the SSB code requires PCI, set the Kconfig dependencies accordingly.
Also tweak the menu display so that the menu does not show up at all if
SSB is not possible.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 drivers/ssb/Kconfig |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 307b1f6..f0a176a 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -1,10 +1,11 @@
-menu "Sonics Silicon Backplane"
-
 config SSB_POSSIBLE
 	bool
-	depends on HAS_IOMEM && HAS_DMA
+	depends on HAS_IOMEM && HAS_DMA && PCI
 	default y
 
+menu "Sonics Silicon Backplane"
+	depends on SSB_POSSIBLE
+
 config SSB
 	tristate "Sonics Silicon Backplane support"
 	depends on SSB_POSSIBLE
-- 
1.6.0.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 2:51 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:07 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:15 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:22 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:26 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:29 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:32 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:35 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:55 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:56 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:59 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 2:14 pm)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 2:24 pm)
Re: [PATCH] SSB: make it depend on PCI, Geert Uytterhoeven, (Sun Nov 9, 3:51 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Sun Nov 9, 4:49 am)