ssb: make SSB a menuconfig to ease disabling it all
authorVincent Legoll <vincent.legoll@gmail.com>
Mon, 4 Dec 2017 22:27:44 +0000 (23:27 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Dec 2017 13:44:47 +0000 (15:44 +0200)
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>
drivers/ssb/Kconfig

index d8e4219..f48a2ee 100644 (file)
@@ -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