summaryrefslogtreecommitdiff
path: root/drivers/ssb/Kconfig
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-06 01:37:00 +0000
committerDavid S. Miller <davem@davemloft.net>2008-11-10 13:50:17 -0800
commit9581483444d002e0b3807d9e66f552f372a6fc5e (patch)
treeef9d343eb8932236cef2dad3104e187abace3fb6 /drivers/ssb/Kconfig
parent309f796f301bf1c2731d9b9eb8642c76b523ebf7 (diff)
SSB: hide empty sub menu
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ssb/Kconfig')
-rw-r--r--drivers/ssb/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 307b1f62d94..b1b947edcf0 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