summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.1/259-regmap_dynamic.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-07-25 09:55:32 +0000
committerJonas Gorski <jogo@openwrt.org>2015-07-25 09:55:32 +0000
commit71f2d6f865357f2de2ec58001a8d780d420c9bca (patch)
treedc8757cfc1a859d8c31e49d58f2ad7a9b054fe12 /target/linux/generic/patches-4.1/259-regmap_dynamic.patch
parentda337e211e717f33bef6069fca9591e11d0071eb (diff)
downloadmtk-20170518-71f2d6f865357f2de2ec58001a8d780d420c9bca.zip
mtk-20170518-71f2d6f865357f2de2ec58001a8d780d420c9bca.tar.gz
mtk-20170518-71f2d6f865357f2de2ec58001a8d780d420c9bca.tar.bz2
kmod-regmap: make regmap-mmio user selectable
REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing selects it, it will fail the build with: ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing. make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1 Fix this by adding a description to allow selecting it manually. Fixes: r46451 ("kmod-regmap: enable MMIO support") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46485
Diffstat (limited to 'target/linux/generic/patches-4.1/259-regmap_dynamic.patch')
-rw-r--r--target/linux/generic/patches-4.1/259-regmap_dynamic.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.1/259-regmap_dynamic.patch b/target/linux/generic/patches-4.1/259-regmap_dynamic.patch
index def9ace..a4bdae6 100644
--- a/target/linux/generic/patches-4.1/259-regmap_dynamic.patch
+++ b/target/linux/generic/patches-4.1/259-regmap_dynamic.patch
@@ -34,8 +34,9 @@
depends on SPMI
config REGMAP_MMIO
+- tristate
++ tristate "Regmap MMIO"
+ select REGMAP
- tristate
config REGMAP_IRQ
+ select REGMAP