summaryrefslogtreecommitdiff
path: root/drivers/staging/fieldbus/anybuss
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-05-28 22:29:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-10 16:10:33 +0200
commit0f2692f7f2820aff5ebbda9723ddd63e800819cb (patch)
tree7ee5f2b9863db79a0ea51bd5761ccc2d84e2fc60 /drivers/staging/fieldbus/anybuss
parent130b5fb3738c93e0407f7df8f104deb828e6d67b (diff)
staging: fieldbus: Fix build error without CONFIG_REGMAP_MMIO
Fix gcc build error while CONFIG_REGMAP_MMIO is not set drivers/staging/fieldbus/anybuss/arcx-anybus.o: In function `controller_probe': arcx-anybus.c: undefined reference to `__devm_regmap_init_mmio_clk' Select REGMAP_MMIO to fix it. Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: 2411a336c8ce ("staging: fieldbus: arcx-anybus: change custom -> mmio regmap") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fieldbus/anybuss')
-rw-r--r--drivers/staging/fieldbus/anybuss/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fieldbus/anybuss/Kconfig b/drivers/staging/fieldbus/anybuss/Kconfig
index 8bc3d9a87743..635a0a7b7dd2 100644
--- a/drivers/staging/fieldbus/anybuss/Kconfig
+++ b/drivers/staging/fieldbus/anybuss/Kconfig
@@ -14,6 +14,7 @@ if HMS_ANYBUSS_BUS
config ARCX_ANYBUS_CONTROLLER
tristate "Arcx Anybus-S Controller"
depends on OF && GPIOLIB && HAS_IOMEM && REGULATOR
+ select REGMAP_MMIO
help
Select this to get support for the Arcx Anybus controller.
It connects to the SoC via a parallel memory bus, and