aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/259-regmap_dynamic.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-10-27 22:55:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-10-27 22:55:39 +0000
commita76ee3b1d5dee92a13ba357e9baf2ad155976604 (patch)
tree38745103e28135d9d7fc5fbfbc64a5eb7f6f49d3 /target/linux/generic/patches-3.18/259-regmap_dynamic.patch
parentcea2b5299b13fcfef7de2f194e833e545e9e0f2f (diff)
downloadupstream-a76ee3b1d5dee92a13ba357e9baf2ad155976604.tar.gz
upstream-a76ee3b1d5dee92a13ba357e9baf2ad155976604.tar.bz2
upstream-a76ee3b1d5dee92a13ba357e9baf2ad155976604.zip
kernel: make the kernel 3.18 patches apply and boot on arm.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43095
Diffstat (limited to 'target/linux/generic/patches-3.18/259-regmap_dynamic.patch')
-rw-r--r--target/linux/generic/patches-3.18/259-regmap_dynamic.patch13
1 files changed, 8 insertions, 5 deletions
diff --git a/target/linux/generic/patches-3.18/259-regmap_dynamic.patch b/target/linux/generic/patches-3.18/259-regmap_dynamic.patch
index e7f5bcee97..55e639cb85 100644
--- a/target/linux/generic/patches-3.18/259-regmap_dynamic.patch
+++ b/target/linux/generic/patches-3.18/259-regmap_dynamic.patch
@@ -1,6 +1,6 @@
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
-@@ -3,23 +3,28 @@
+@@ -3,26 +3,31 @@
# subsystems should select the appropriate symbols.
config REGMAP
@@ -13,18 +13,21 @@
config REGMAP_I2C
- tristate
-+ select REGMAP
+ tristate "Regmap I2C
++ select REGMAP
+ depends on I2C
config REGMAP_SPI
- tristate
++ tristate "Regmap SPI"
+ select REGMAP
+ depends on SPI_MASTER
-+ tristate "Regmap SPI"
+ depends on SPI
config REGMAP_SPMI
+ select REGMAP
tristate
+ depends on SPMI
config REGMAP_MMIO
+ select REGMAP
@@ -67,8 +70,8 @@
+#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/err.h>
- #include <linux/rbtree.h>
-@@ -2247,3 +2248,5 @@ static int __init regmap_initcall(void)
+ #include <linux/of.h>
+@@ -2635,3 +2636,5 @@ static int __init regmap_initcall(void)
return 0;
}
postcore_initcall(regmap_initcall);