Commit 0f2692f7 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 2411a336 ("staging: fieldbus: arcx-anybus: change custom -> mmio regmap")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarSven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 130b5fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment