From: Mike Frysinger Date: Thu, 6 Nov 2008 01:37:00 +0000 (+0000) Subject: SSB: hide empty sub menu X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9581483444d002e0b3807d9e66f552f372a6fc5e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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