From: Mike Frysinger Date: Thu, 6 Nov 2008 01:37:00 +0000 (+0000) Subject: SSB: hide empty sub menu X-Git-Tag: v2.6.28-rc5~90^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9581483444d002e0b3807d9e66f552f372a6fc5e;p=linux-2.6-omap-h63xx.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 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