pinctrl: add GPL license and configure SX150x

GPL license added for compilation as loadable module.

Configure SX150x driver from bool to tristate.

Change-Id: I9ecaa7d6b2a3fd4552df30c2dc73632b75ae0695
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
This commit is contained in:
Raghavendra Prasad N 2023-04-17 17:32:34 +05:30 committed by Gerrit - the friendly Code Review server
parent 08c76957e8
commit 4bebc9045e
2 changed files with 2 additions and 1 deletions

View file

@ -449,7 +449,7 @@ config PINCTRL_STMFX
interrupt-controller.
config PINCTRL_SX150X
bool "Semtech SX150x I2C GPIO expander pinctrl driver"
tristate "Semtech SX150x I2C GPIO expander pinctrl driver"
depends on I2C=y
select PINMUX
select PINCONF

View file

@ -1261,3 +1261,4 @@ static int __init sx150x_init(void)
return i2c_add_driver(&sx150x_driver);
}
subsys_initcall(sx150x_init);
MODULE_LICENSE("GPL");