[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251219115631.218609-1-sander@svanheule.net>
Date: Fri, 19 Dec 2025 12:56:31 +0100
From: Sander Vanheule <sander@...nheule.net>
To: Linus Walleij <linusw@...nel.org>,
Conor Dooley <conor.dooley@...rochip.com>
Cc: linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Sander Vanheule <sander@...nheule.net>
Subject: [PATCH] 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: 38cf9d641314 ("pinctrl: add pic64gx "gpio2" pinmux driver")
Signed-off-by: Sander Vanheule <sander@...nheule.net>
---
drivers/pinctrl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index bc7f37afc48b..7b9f792acb0e 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -491,6 +491,7 @@ config PINCTRL_PIC64GX
depends on ARCH_MICROCHIP || COMPILE_TEST
depends on OF
select GENERIC_PINCONF
+ select REGMAP_MMIO
default y
help
This selects the pinctrl driver for gpio2 on pic64gx.
--
2.52.0
Powered by blists - more mailing lists