diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 02:37:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 22:50:17 +0100 |
commit | 9581483444d002e0b3807d9e66f552f372a6fc5e (patch) | |
tree | ef9d343eb8932236cef2dad3104e187abace3fb6 /drivers/ssb/Kconfig | |
parent | vlan: Fix typos in proc output string (diff) | |
download | linux-9581483444d002e0b3807d9e66f552f372a6fc5e.tar.xz linux-9581483444d002e0b3807d9e66f552f372a6fc5e.zip |
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/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index 307b1f62d949..b1b947edcf01 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 |