Skip to content

Commit 5489985

Browse files
rddunlapgregkh
authored andcommitted
pinctrl: STMFX: add missing HAS_IOMEM dependency
[ Upstream commit a12946b ] When building on ARCH=um (which does not set HAS_IOMEM), kconfig reports an unmet dependency caused by PINCTRL_STMFX. It selects MFD_STMFX, which depends on HAS_IOMEM. To stop this warning, PINCTRL_STMFX should also depend on HAS_IOMEM. kconfig warning: WARNING: unmet direct dependencies detected for MFD_STMFX Depends on [n]: HAS_IOMEM [=n] && I2C [=y] && OF [=y] Selected by [y]: - PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && OF_GPIO [=y] Fixes: 1490d9f ("pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/20250815022721.1650885-1-rdunlap@infradead.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 554589d commit 5489985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ config PINCTRL_STMFX
527527
tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
528528
depends on I2C
529529
depends on OF_GPIO
530+
depends on HAS_IOMEM
530531
select GENERIC_PINCONF
531532
select GPIOLIB_IRQCHIP
532533
select MFD_STMFX

0 commit comments

Comments
 (0)