summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.18.12/regmap-bool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/3.18.12/regmap-bool.patch')
-rw-r--r--target/linux/patches/3.18.12/regmap-bool.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/patches/3.18.12/regmap-bool.patch b/target/linux/patches/3.18.12/regmap-bool.patch
new file mode 100644
index 000000000..5c0ff5e2c
--- /dev/null
+++ b/target/linux/patches/3.18.12/regmap-bool.patch
@@ -0,0 +1,27 @@
+diff -Nur linux-3.18.5.orig/drivers/base/regmap/Kconfig linux-3.18.5/drivers/base/regmap/Kconfig
+--- linux-3.18.5.orig/drivers/base/regmap/Kconfig 2015-01-30 02:41:03.000000000 +0100
++++ linux-3.18.5/drivers/base/regmap/Kconfig 2015-02-02 11:53:27.854106073 +0100
+@@ -10,19 +10,19 @@
+ bool
+
+ config REGMAP_I2C
+- tristate
++ bool
+ depends on I2C
+
+ config REGMAP_SPI
+- tristate
++ bool
+ depends on SPI
+
+ config REGMAP_SPMI
+- tristate
++ bool
+ depends on SPMI
+
+ config REGMAP_MMIO
+- tristate
++ bool
+
+ config REGMAP_IRQ
+ bool