diff options
| author | Tsz Shan Chan <tsz.chan.dev@gmail.com> | 2026-07-31 17:18:45 +1000 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-08-04 09:43:30 +0200 |
| commit | dbbb19b8e412fb815d9eadceb1c0ce40083a5504 (patch) | |
| tree | a91df2ce2a72d52b6934a6cbfe61d93ce7dc3d41 /drivers | |
| parent | 41c59b22370d2e1785e0e80f8ad7bd9946a1ca82 (diff) | |
| download | linux-dbbb19b8e412fb815d9eadceb1c0ce40083a5504.tar.gz linux-dbbb19b8e412fb815d9eadceb1c0ce40083a5504.zip | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pinctrl/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index ddc60562b770..fdcd0ea34d6f 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -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 |
