]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: make cdev a build option
authorKent Gibson <warthog618@gmail.com>
Mon, 28 Sep 2020 00:27:52 +0000 (08:27 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 30 Sep 2020 08:56:42 +0000 (10:56 +0200)
commit607f2a9872bf3efd534084c91f42963785f8de12
treea775840c49b5364aed598090f582003a706741db
parentc848da15a2489e89361cef3517abaec7f100b07e
gpiolib: make cdev a build option

Make the gpiolib-cdev module a build option.  This allows the CDEV
interface to be removed from the kernel to reduce kernel size in
applications where is it not required, and provides the parent for
other CDEV interface specific build options to follow.

Suggested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpiolib-cdev.h