]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Do not enable the v1 uAPI by default
authorLinus Walleij <linusw@kernel.org>
Fri, 13 Mar 2026 23:07:50 +0000 (00:07 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 16 Mar 2026 09:08:09 +0000 (10:08 +0100)
It's been five years since we introduced the v2 uAPI and
the major consumer libgpiod is at v2.2.3.

Let's discourage the old ABI.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://patch.msgid.link/20260314-no-y-uapi1-default-v2-1-578f09c91b8f@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/Kconfig

index d665afe19709709e41c27a8f4e225c767576f9de..6d39c871251376d217b48d5c854e0a5182ab1ab0 100644 (file)
@@ -95,7 +95,6 @@ config GPIO_CDEV
 
 config GPIO_CDEV_V1
        bool "Support GPIO ABI Version 1"
-       default y
        depends on GPIO_CDEV
        help
          Say Y here to support version 1 of the GPIO CDEV ABI.
@@ -103,8 +102,6 @@ config GPIO_CDEV_V1
          This ABI version is deprecated.
          Please use the latest ABI for new developments.
 
-         If unsure, say Y.
-
 config GPIO_GENERIC
        depends on HAS_IOMEM # Only for IOMEM drivers
        tristate