regmap-default-on.patch 601 B

1234567891011121314151617
  1. diff -Nur linux-4.12.3.orig/drivers/base/regmap/Kconfig linux-4.12.3/drivers/base/regmap/Kconfig
  2. --- linux-4.12.3.orig/drivers/base/regmap/Kconfig 2017-07-21 06:59:24.000000000 +0200
  3. +++ linux-4.12.3/drivers/base/regmap/Kconfig 2017-07-25 23:02:14.060483161 +0200
  4. @@ -3,7 +3,7 @@
  5. # subsystems should select the appropriate symbols.
  6. config REGMAP
  7. - default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
  8. + default y
  9. select LZO_COMPRESS
  10. select LZO_DECOMPRESS
  11. select IRQ_DOMAIN if REGMAP_IRQ
  12. @@ -29,3 +29,4 @@
  13. config REGMAP_IRQ
  14. bool
  15. + default y