mirror of
https://github.com/openwrt/openwrt.git
synced 2026-01-06 21:10:16 +04:00
kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
This was turned from a silent confg option without a text to a normal config option which could be selected without any other option depending on this. This could cause the situation where REGMAP_SPI was selected without SPI_MASTER being selected. SVN-Revision: 36101
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/base/regmap/Kconfig
|
--- a/drivers/base/regmap/Kconfig
|
||||||
+++ b/drivers/base/regmap/Kconfig
|
+++ b/drivers/base/regmap/Kconfig
|
||||||
@@ -3,16 +3,17 @@
|
@@ -3,16 +3,18 @@
|
||||||
# subsystems should select the appropriate symbols.
|
# subsystems should select the appropriate symbols.
|
||||||
|
|
||||||
config REGMAP
|
config REGMAP
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
config REGMAP_SPI
|
config REGMAP_SPI
|
||||||
- tristate
|
- tristate
|
||||||
+ select REGMAP
|
+ select REGMAP
|
||||||
|
+ depends on SPI_MASTER
|
||||||
+ tristate "Regmap SPI"
|
+ tristate "Regmap SPI"
|
||||||
|
|
||||||
config REGMAP_IRQ
|
config REGMAP_IRQ
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/base/regmap/Kconfig
|
--- a/drivers/base/regmap/Kconfig
|
||||||
+++ b/drivers/base/regmap/Kconfig
|
+++ b/drivers/base/regmap/Kconfig
|
||||||
@@ -3,20 +3,23 @@
|
@@ -3,20 +3,24 @@
|
||||||
# subsystems should select the appropriate symbols.
|
# subsystems should select the appropriate symbols.
|
||||||
|
|
||||||
config REGMAP
|
config REGMAP
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
config REGMAP_SPI
|
config REGMAP_SPI
|
||||||
- tristate
|
- tristate
|
||||||
+ select REGMAP
|
+ select REGMAP
|
||||||
|
+ depends on SPI_MASTER
|
||||||
+ tristate "Regmap SPI"
|
+ tristate "Regmap SPI"
|
||||||
|
|
||||||
config REGMAP_MMIO
|
config REGMAP_MMIO
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/base/regmap/Kconfig
|
--- a/drivers/base/regmap/Kconfig
|
||||||
+++ b/drivers/base/regmap/Kconfig
|
+++ b/drivers/base/regmap/Kconfig
|
||||||
@@ -3,20 +3,23 @@
|
@@ -3,20 +3,24 @@
|
||||||
# subsystems should select the appropriate symbols.
|
# subsystems should select the appropriate symbols.
|
||||||
|
|
||||||
config REGMAP
|
config REGMAP
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
config REGMAP_SPI
|
config REGMAP_SPI
|
||||||
- tristate
|
- tristate
|
||||||
+ select REGMAP
|
+ select REGMAP
|
||||||
|
+ depends on SPI_MASTER
|
||||||
+ tristate "Regmap SPI"
|
+ tristate "Regmap SPI"
|
||||||
|
|
||||||
config REGMAP_MMIO
|
config REGMAP_MMIO
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/base/regmap/Kconfig
|
--- a/drivers/base/regmap/Kconfig
|
||||||
+++ b/drivers/base/regmap/Kconfig
|
+++ b/drivers/base/regmap/Kconfig
|
||||||
@@ -3,20 +3,23 @@
|
@@ -3,20 +3,24 @@
|
||||||
# subsystems should select the appropriate symbols.
|
# subsystems should select the appropriate symbols.
|
||||||
|
|
||||||
config REGMAP
|
config REGMAP
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
config REGMAP_SPI
|
config REGMAP_SPI
|
||||||
- tristate
|
- tristate
|
||||||
+ select REGMAP
|
+ select REGMAP
|
||||||
|
+ depends on SPI_MASTER
|
||||||
+ tristate "Regmap SPI"
|
+ tristate "Regmap SPI"
|
||||||
|
|
||||||
config REGMAP_MMIO
|
config REGMAP_MMIO
|
||||||
|
|||||||
Reference in New Issue
Block a user