summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.2.5/regmap-default-on.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/4.2.5/regmap-default-on.patch')
-rw-r--r--target/linux/patches/4.2.5/regmap-default-on.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/patches/4.2.5/regmap-default-on.patch b/target/linux/patches/4.2.5/regmap-default-on.patch
new file mode 100644
index 000000000..8d72224bf
--- /dev/null
+++ b/target/linux/patches/4.2.5/regmap-default-on.patch
@@ -0,0 +1,17 @@
+diff -Nur linux-4.1.6.orig/drivers/base/regmap/Kconfig linux-4.1.6/drivers/base/regmap/Kconfig
+--- linux-4.1.6.orig/drivers/base/regmap/Kconfig 2015-08-17 05:52:51.000000000 +0200
++++ linux-4.1.6/drivers/base/regmap/Kconfig 2015-08-29 22:18:50.329683337 +0200
+@@ -3,7 +3,7 @@
+ # subsystems should select the appropriate symbols.
+
+ config REGMAP
+- default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
++ default y
+ select LZO_COMPRESS
+ select LZO_DECOMPRESS
+ select IRQ_DOMAIN if REGMAP_IRQ
+@@ -29,3 +29,4 @@
+
+ config REGMAP_IRQ
+ bool
++ default y