2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-19 16:14:13 +08:00

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>
This commit is contained in:
Mike Frysinger 2008-11-06 01:37:00 +00:00 committed by David S. Miller
parent 309f796f30
commit 9581483444

View File

@ -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