kmod-regmap: make regmap-mmio user selectable
authorJonas Gorski <jogo@openwrt.org>
Sat, 25 Jul 2015 09:55:32 +0000 (09:55 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 25 Jul 2015 09:55:32 +0000 (09:55 +0000)
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

target/linux/generic/patches-3.18/259-regmap_dynamic.patch
target/linux/generic/patches-4.0/259-regmap_dynamic.patch
target/linux/generic/patches-4.1/259-regmap_dynamic.patch

index 63c85dd40aa6eba946fda1f770727e0b8cf1213b..b1d4ad277274e27fea5125916db3d33f1cd7e55e 100644 (file)
@@ -30,8 +30,9 @@
        depends on SPMI
  
  config REGMAP_MMIO
+-      tristate
++      tristate "Regmap MMIO"
 +      select REGMAP
-       tristate
  
  config REGMAP_IRQ
 +      select REGMAP
index dd42895108567e26e1108f8fdbfdc1d1c0dc0660..084b3b44505a3bb11d7ad73b6d4b42f2361278e3 100644 (file)
@@ -34,8 +34,9 @@
        depends on SPMI
  
  config REGMAP_MMIO
+-      tristate
++      tristate "Regmap MMIO"
 +      select REGMAP
-       tristate
  
  config REGMAP_IRQ
 +      select REGMAP
index def9ace7ff4184e53ac88d7927bdd1b4aadfdf5e..a4bdae6aeca991aaf73ce5571d29fac406c6191e 100644 (file)
@@ -34,8 +34,9 @@
        depends on SPMI
  
  config REGMAP_MMIO
+-      tristate
++      tristate "Regmap MMIO"
 +      select REGMAP
-       tristate
  
  config REGMAP_IRQ
 +      select REGMAP