mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
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:
parent
41c59b2237
commit
dbbb19b8e4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user