aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-07-30 22:33:51 +0200
committerJohn Crispin <john@phrozen.org>2018-07-30 22:37:22 +0200
commitd00913d1215b4877da67431b3dadf51fe5d0c443 (patch)
tree0e0c777d48c8ad40dacf5502db60e1821c52fc76 /target/linux/generic
parent50c5fdd54d5f189df0979f1255ec50b88c90a702 (diff)
downloadupstream-d00913d1215b4877da67431b3dadf51fe5d0c443.tar.gz
upstream-d00913d1215b4877da67431b3dadf51fe5d0c443.tar.bz2
upstream-d00913d1215b4877da67431b3dadf51fe5d0c443.zip
kernel: modules: fix kmod-regmap
This patch fixes the a compile issue that was triggered by apm821xx/sata when kmod-regmap was selected. The CONFIG_REGMAP is declared in drivers/base/regmap/Kconfig as type "bool" and not "tristate". Hence the symbol should never be set to module, as this confuses the #if CONFIG_REGMAP guards in include/linux/regmap.h: |.../drivers/regulator/core.c:4041: undefined reference to `dev_get_regmap' |.../drivers/regulator/core.c:4042: undefined reference to `dev_get_regmap' |.../drivers/regulator/core.c:4044: undefined reference to `dev_get_regmap' |.../drivers/regulator/helpers.o: In function `regulator_is_enabled_regmap': |.../drivers/regulator/helpers.c:36: undefined reference to `regmap_read' |... Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions