summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2017-12-04 23:27:44 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-12-07 15:44:47 +0200
commit8c9fdd7687d9eeff766d9b39f42c5385aa33e086 (patch)
tree5d6b6ec843fb7acf562df52077e6156942ffe770 /drivers/ssb
parent7bc04215a66b60e198aecaee8418f6d79fa19faa (diff)
downloadlinux-stable-8c9fdd7687d9eeff766d9b39f42c5385aa33e086.tar.gz
linux-stable-8c9fdd7687d9eeff766d9b39f42c5385aa33e086.tar.bz2
linux-stable-8c9fdd7687d9eeff766d9b39f42c5385aa33e086.zip
ssb: make SSB a menuconfig to ease disabling it all
No need to get into the submenu to disable all SSB-related config entries. This makes it easier to disable all SSB config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
-rw-r--r--drivers/ssb/Kconfig9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index d8e4219c2324..f48a2ee587a4 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -3,10 +3,7 @@ config SSB_POSSIBLE
depends on HAS_IOMEM && HAS_DMA
default y
-menu "Sonics Silicon Backplane"
- depends on SSB_POSSIBLE
-
-config SSB
+menuconfig SSB
tristate "Sonics Silicon Backplane support"
depends on SSB_POSSIBLE
help
@@ -21,6 +18,8 @@ config SSB
If unsure, say N.
+if SSB
+
# Common SPROM support routines
config SSB_SPROM
bool
@@ -185,4 +184,4 @@ config SSB_DRIVER_GPIO
If unsure, say N
-endmenu
+endif # SSB