Skip to content

Commit bc27721

Browse files
svanheulelinusw
authored andcommitted
pinctrl: pic64gx-gpio2: Add REGMAP_MMIO dependency
In line with other drivers depending on REGMAP_*, select the required symbol to prevent a linker error when building with COMPILE_TEST=y: ld: drivers/pinctrl/pinctrl-pic64gx-gpio2.o: in function `pic64gx_gpio2_probe': pinctrl-pic64gx-gpio2.c:315:(.text+0x198): undefined reference to `__devm_regmap_init_mmio_clk' Fixes: 38cf9d6 ("pinctrl: add pic64gx "gpio2" pinmux driver") Signed-off-by: Sander Vanheule <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 882ddfc commit bc27721

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pinctrl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ config PINCTRL_PIC64GX
491491
depends on ARCH_MICROCHIP || COMPILE_TEST
492492
depends on OF
493493
select GENERIC_PINCONF
494+
select REGMAP_MMIO
494495
default y
495496
help
496497
This selects the pinctrl driver for gpio2 on pic64gx.

0 commit comments

Comments
 (0)