mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-03 12:05:13 +02:00
[ Upstream commit369f772299] The pinctrl-rtd driver uses 'devm_regmap_init_mmio', which requires 'REGMAP_MMIO' to be enabled. Without this selection, the build fails with an undefined reference: aarch64-none-linux-gnu-ld: drivers/pinctrl/realtek/pinctrl-rtd.o: in function rtd_pinctrl_probe': pinctrl-rtd.c:(.text+0x5a0): undefined reference to __devm_regmap_init_mmio_clk' Fix this by selecting 'REGMAP_MMIO' in the Kconfig. Fixes:e99ce78030("pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs") Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
25 lines
546 B
Plaintext
25 lines
546 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
config PINCTRL_RTD
|
|
tristate "Realtek DHC core pin controller driver"
|
|
depends on ARCH_REALTEK
|
|
default y
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
select REGMAP_MMIO
|
|
|
|
config PINCTRL_RTD1619B
|
|
tristate "Realtek DHC 1619B pin controller driver"
|
|
depends on PINCTRL_RTD
|
|
default y
|
|
|
|
config PINCTRL_RTD1319D
|
|
tristate "Realtek DHC 1319D pin controller driver"
|
|
depends on PINCTRL_RTD
|
|
default y
|
|
|
|
config PINCTRL_RTD1315E
|
|
tristate "Realtek DHC 1315E pin controller driver"
|
|
depends on PINCTRL_RTD
|
|
default y
|