From: Kent Gibson Date: Mon, 28 Sep 2020 00:27:53 +0000 (+0800) Subject: gpiolib: add build option for CDEV v1 ABI X-Git-Tag: v5.10-rc1~171^2~4^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=957ebb61a4761c1eb32c3f34db7ccfef2e1e95ae;p=thirdparty%2Fkernel%2Flinux.git gpiolib: add build option for CDEV v1 ABI Add a build option to allow the removal of the CDEV v1 ABI. Suggested-by: Bartosz Golaszewski Signed-off-by: Kent Gibson Reviewed-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index cbf8a60dec03c..e1376466d8b07 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -82,6 +82,18 @@ config GPIO_CDEV If unsure, say Y. +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. + + 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