[PATCH v2 1/3] misc: ti_fpc202: Depend on GPIOLIB instead of selecting it

From: Romain Gantois

Date: Thu Feb 26 2026 - 09:07:20 EST


Selecting a foreign subsystem such as GPIOLIB may lead to dependency loops.
Use a "depends on" instead.

Signed-off-by: Romain Gantois <romain.gantois@xxxxxxxxxxx>
---
drivers/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 5cc79d1517af5..dcb36e39d7079 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -116,7 +116,7 @@ config RPMB
config TI_FPC202
tristate "TI FPC202 Dual Port Controller"
depends on I2C
- select GPIOLIB
+ depends on GPIOLIB
select I2C_ATR
help
If you say yes here you get support for the Texas Instruments FPC202

--
2.52.0