pinctrl: sx150x: allow build when I2C is a module

PINCTRL_SX150X currently depends on I2C=y. This prevents the driver
from being built when I2C is configured as module.

Change the Kconfig dependency to just I2C so sx150x can be built as a
module when I2C is also a module.

Signed-off-by: Tsz Shan Chan <tchan@jacques.com.au>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Tsz Shan Chan 2026-07-31 17:18:45 +10:00 committed by Linus Walleij
parent 41c59b2237
commit dbbb19b8e4

View File

@ -575,7 +575,7 @@ config PINCTRL_STMFX
config PINCTRL_SX150X
tristate "Semtech SX150x I2C GPIO expander pinctrl driver"
depends on I2C=y
depends on I2C
select PINMUX
select PINCONF
select GENERIC_PINCONF