]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
misc: ti_fpc202: Depend on GPIOLIB instead of selecting it
authorRomain Gantois <romain.gantois@bootlin.com>
Tue, 31 Mar 2026 09:20:56 +0000 (11:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 14:29:27 +0000 (16:29 +0200)
Selecting a foreign subsystem such as GPIOLIB may lead to dependency loops.
Use a "depends on" instead.

Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Link: https://patch.msgid.link/20260331-fpc202-leds-v3-1-74b173537d42@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig

index 5cc79d1517af5151817e5e970761cf457db770c1..dcb36e39d707962c52806650b0a1ba7636907047 100644 (file)
@@ -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