提交 95814834 编写于 作者: M Mike Frysinger 提交者: David S. Miller

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: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 309f796f
menu "Sonics Silicon Backplane"
config SSB_POSSIBLE config SSB_POSSIBLE
bool bool
depends on HAS_IOMEM && HAS_DMA depends on HAS_IOMEM && HAS_DMA
default y default y
menu "Sonics Silicon Backplane"
depends on SSB_POSSIBLE
config SSB config SSB
tristate "Sonics Silicon Backplane support" tristate "Sonics Silicon Backplane support"
depends on SSB_POSSIBLE depends on SSB_POSSIBLE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册