Skip to content

Commit 369f772

Browse files
Yu-Chun LinLinus Walleij
authored andcommitted
pinctrl: realtek: Select REGMAP_MMIO for RTD driver
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: e99ce78 ("pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs") Signed-off-by: Yu-Chun Lin <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 5189192 commit 369f772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/realtek/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config PINCTRL_RTD
66
default y
77
select PINMUX
88
select GENERIC_PINCONF
9+
select REGMAP_MMIO
910

1011
config PINCTRL_RTD1619B
1112
tristate "Realtek DHC 1619B pin controller driver"

0 commit comments

Comments
 (0)