From: Stijn Tintel Date: Wed, 9 Nov 2022 11:26:03 +0000 (+0200) Subject: kernel: enable GPIO_CDEV_V1 by default X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fheads%2Fgpio;p=openwrt%2Fstaging%2Fstintel.git kernel: enable GPIO_CDEV_V1 by default Enable the GPIO CDEV v1 ABI by default, as libgpiod does not support the newer ABI. Signed-off-by: Stijn Tintel --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index e389daa7f4..224bc55aba 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -1268,12 +1268,13 @@ config KERNEL_GPIO_CDEV config KERNEL_GPIO_CDEV_V1 bool "GPIO character device ABI v1" depends on KERNEL_GPIO_CDEV - default n + default y help Say Y here to support version 1 of the GPIO CDEV ABI. - This ABI version is deprecated. - Please use the latest ABI for new developments. + Even though this ABI version is deprecated, libgpiod does not + support the new ABI. Enable the v1 ABI by default until libgpiod + implements support for the new ABI. config KERNEL_DEVMEM bool "/dev/mem virtual device support"