diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-09-27 16:01:49 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-10-13 05:37:21 -0400 |
commit | 0f0a0af826260a267d11a66e4b13543784bc9c56 (patch) | |
tree | 76c2cfa72ca5fc55018cb407942dd93b46dfe59d /drivers/bcma/Kconfig | |
parent | 20d879e7f0fe632827bcff3016e067b4d80bf791 (diff) |
bcma: keep *config menu together
Use "if BCMA"/"endif" around all Kconfig symbols so that they are
kept together in *config menus instead of showing up in unexpected
places. Also remove "depends on BCMA" since this is handled by the
"if BCMA" addition.
Tested with ARCH={x86_64,MIPS} using make {n,menu,g,x}config.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/Kconfig')
-rw-r--r-- | drivers/bcma/Kconfig | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 54f81c554815..56ee55b66dfe 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig | |||
@@ -10,14 +10,15 @@ menuconfig BCMA | |||
10 | Bus driver for Broadcom specific Advanced Microcontroller Bus | 10 | Bus driver for Broadcom specific Advanced Microcontroller Bus |
11 | Architecture. | 11 | Architecture. |
12 | 12 | ||
13 | if BCMA | ||
14 | |||
13 | # Support for Block-I/O. SELECT this from the driver that needs it. | 15 | # Support for Block-I/O. SELECT this from the driver that needs it. |
14 | config BCMA_BLOCKIO | 16 | config BCMA_BLOCKIO |
15 | bool | 17 | bool |
16 | depends on BCMA | ||
17 | 18 | ||
18 | config BCMA_HOST_PCI_POSSIBLE | 19 | config BCMA_HOST_PCI_POSSIBLE |
19 | bool | 20 | bool |
20 | depends on BCMA && PCI = y | 21 | depends on PCI = y |
21 | default y | 22 | default y |
22 | 23 | ||
23 | config BCMA_HOST_PCI | 24 | config BCMA_HOST_PCI |
@@ -28,7 +29,6 @@ config BCMA_HOST_PCI | |||
28 | 29 | ||
29 | config BCMA_HOST_SOC | 30 | config BCMA_HOST_SOC |
30 | bool "Support for BCMA in a SoC" | 31 | bool "Support for BCMA in a SoC" |
31 | depends on BCMA | ||
32 | help | 32 | help |
33 | Host interface for a Broadcom AIX bus directly mapped into | 33 | Host interface for a Broadcom AIX bus directly mapped into |
34 | the memory. This only works with the Broadcom SoCs from the | 34 | the memory. This only works with the Broadcom SoCs from the |
@@ -38,7 +38,7 @@ config BCMA_HOST_SOC | |||
38 | 38 | ||
39 | config BCMA_DRIVER_PCI | 39 | config BCMA_DRIVER_PCI |
40 | bool "BCMA Broadcom PCI core driver" | 40 | bool "BCMA Broadcom PCI core driver" |
41 | depends on BCMA && PCI | 41 | depends on PCI |
42 | default y | 42 | default y |
43 | help | 43 | help |
44 | BCMA bus may have many versions of PCIe core. This driver | 44 | BCMA bus may have many versions of PCIe core. This driver |
@@ -54,13 +54,13 @@ config BCMA_DRIVER_PCI | |||
54 | 54 | ||
55 | config BCMA_DRIVER_PCI_HOSTMODE | 55 | config BCMA_DRIVER_PCI_HOSTMODE |
56 | bool "Driver for PCI core working in hostmode" | 56 | bool "Driver for PCI core working in hostmode" |
57 | depends on BCMA && MIPS && BCMA_DRIVER_PCI | 57 | depends on MIPS && BCMA_DRIVER_PCI |
58 | help | 58 | help |
59 | PCI core hostmode operation (external PCI bus). | 59 | PCI core hostmode operation (external PCI bus). |
60 | 60 | ||
61 | config BCMA_DRIVER_MIPS | 61 | config BCMA_DRIVER_MIPS |
62 | bool "BCMA Broadcom MIPS core driver" | 62 | bool "BCMA Broadcom MIPS core driver" |
63 | depends on BCMA && MIPS | 63 | depends on MIPS |
64 | help | 64 | help |
65 | Driver for the Broadcom MIPS core attached to Broadcom specific | 65 | Driver for the Broadcom MIPS core attached to Broadcom specific |
66 | Advanced Microcontroller Bus. | 66 | Advanced Microcontroller Bus. |
@@ -91,7 +91,6 @@ config BCMA_NFLASH | |||
91 | 91 | ||
92 | config BCMA_DRIVER_GMAC_CMN | 92 | config BCMA_DRIVER_GMAC_CMN |
93 | bool "BCMA Broadcom GBIT MAC COMMON core driver" | 93 | bool "BCMA Broadcom GBIT MAC COMMON core driver" |
94 | depends on BCMA | ||
95 | help | 94 | help |
96 | Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom | 95 | Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom |
97 | specific Advanced Microcontroller Bus. | 96 | specific Advanced Microcontroller Bus. |
@@ -100,7 +99,7 @@ config BCMA_DRIVER_GMAC_CMN | |||
100 | 99 | ||
101 | config BCMA_DRIVER_GPIO | 100 | config BCMA_DRIVER_GPIO |
102 | bool "BCMA GPIO driver" | 101 | bool "BCMA GPIO driver" |
103 | depends on BCMA && GPIOLIB | 102 | depends on GPIOLIB |
104 | select GPIOLIB_IRQCHIP if BCMA_HOST_SOC | 103 | select GPIOLIB_IRQCHIP if BCMA_HOST_SOC |
105 | help | 104 | help |
106 | Driver to provide access to the GPIO pins of the bcma bus. | 105 | Driver to provide access to the GPIO pins of the bcma bus. |
@@ -109,8 +108,9 @@ config BCMA_DRIVER_GPIO | |||
109 | 108 | ||
110 | config BCMA_DEBUG | 109 | config BCMA_DEBUG |
111 | bool "BCMA debugging" | 110 | bool "BCMA debugging" |
112 | depends on BCMA | ||
113 | help | 111 | help |
114 | This turns on additional debugging messages. | 112 | This turns on additional debugging messages. |
115 | 113 | ||
116 | If unsure, say N | 114 | If unsure, say N |
115 | |||
116 | endif # BCMA | ||