kernel: fix arch-dependent bug in hso module
[openwrt.git] / target / linux / generic / patches-3.3 / 270-regmap_dynamic.patch
index 7c927930605f127ddce78c8907d2ae33131f0784..b1cfc8a6281db22cd37723649ab49c5faf97544a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/base/regmap/Kconfig
 +++ b/drivers/base/regmap/Kconfig
-@@ -3,16 +3,17 @@
+@@ -3,16 +3,18 @@
  # subsystems should select the appropriate symbols.
  
  config REGMAP
@@ -18,6 +18,7 @@
  config REGMAP_SPI
 -      tristate
 +      select REGMAP
++      depends on SPI_MASTER
 +      tristate "Regmap SPI"
  
  config REGMAP_IRQ