Skip to content

Commit

Permalink
SSB: hide empty sub menu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and David S. Miller committed Nov 10, 2008
1 parent 309f796 commit 9581483
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/ssb/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9581483

Please sign in to comment.