LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] SSB: hide empty sub menu
@ 2008-11-06 11:37 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2008-11-06 11:37 UTC (permalink / raw)
To: Michael Buesch; +Cc: netdev, linux-kernel, Johannes Berg
If the target system cannot support SSB, then don't show the menu option as
it'll simply be an empty submenu.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
drivers/ssb/Kconfig | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 307b1f6..b1b947e 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
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-06 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-06 11:37 [PATCH] SSB: hide empty sub menu Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).