From 49ea2048447bd93f142b3cbfa0f6f547d2b67a09 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Wed, 9 Nov 2022 13:26:03 +0200 Subject: [PATCH] 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 --- config/Config-kernel.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" -- 2.30.2