summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.12.10/regmap-default-on.patch
blob: f27eb1d9444a25b32214a0e32c7aeb7b0d215177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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