From: Linus Walleij Date: Fri, 13 Mar 2026 23:07:50 +0000 (+0100) Subject: Do not enable the v1 uAPI by default X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7673e4c7f7f99bfc9f30294ac8ab769dbb386866;p=thirdparty%2Fkernel%2Flinux.git Do not enable the v1 uAPI by default 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 Reviewed-by: Kent Gibson Link: https://patch.msgid.link/20260314-no-y-uapi1-default-v2-1-578f09c91b8f@kernel.org Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index d665afe197097..6d39c87125137 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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