From da8dfca256a2fa49d7ac6a5f117610a6ae5529b4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 21 Mar 2013 14:50:59 +0000 Subject: 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36101 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-3.8/259-regmap_dynamic.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/generic/patches-3.8') diff --git a/target/linux/generic/patches-3.8/259-regmap_dynamic.patch b/target/linux/generic/patches-3.8/259-regmap_dynamic.patch index 53bfe38051..87c03f1ad3 100644 --- a/target/linux/generic/patches-3.8/259-regmap_dynamic.patch +++ b/target/linux/generic/patches-3.8/259-regmap_dynamic.patch @@ -1,6 +1,6 @@ --- a/drivers/base/regmap/Kconfig +++ b/drivers/base/regmap/Kconfig -@@ -3,20 +3,23 @@ +@@ -3,20 +3,24 @@ # subsystems should select the appropriate symbols. config REGMAP @@ -19,6 +19,7 @@ config REGMAP_SPI - tristate + select REGMAP ++ depends on SPI_MASTER + tristate "Regmap SPI" config REGMAP_MMIO -- cgit v1.2.3