projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
309f796
)
SSB: hide empty sub menu
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 6 Nov 2008 01:37:00 +0000
(
01:37
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 10 Nov 2008 21:50:17 +0000
(13:50 -0800)
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>
drivers/ssb/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ssb/Kconfig
b/drivers/ssb/Kconfig
index 307b1f62d949c42c49940d9ca7dd206943076e67..b1b947edcf0157b409279de2d6ae235875de21e8 100644
(file)
--- 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