summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.12.10/regmap-default-on.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/4.12.10/regmap-default-on.patch')
-rw-r--r--target/linux/patches/4.12.10/regmap-default-on.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/patches/4.12.10/regmap-default-on.patch b/target/linux/patches/4.12.10/regmap-default-on.patch
new file mode 100644
index 000000000..f27eb1d94
--- /dev/null
+++ b/target/linux/patches/4.12.10/regmap-default-on.patch
@@ -0,0 +1,17 @@
+diff -Nur linux-4.12.3.orig/drivers/base/regmap/Kconfig linux-4.12.3/drivers/base/regmap/Kconfig
+--- linux-4.12.3.orig/drivers/base/regmap/Kconfig 2017-07-21 06:59:24.000000000 +0200
++++ linux-4.12.3/drivers/base/regmap/Kconfig 2017-07-25 23:02:14.060483161 +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