lkml.org 
[lkml]   [2019]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/2] gpio: mockup: drop unneeded dependencies from Kconfig
czw., 14 mar 2019 o 16:08 Bartosz Golaszewski <brgl@bgdev.pl> napisał(a):
>
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> The testing module doesn't need GPIO irqchip nor does it depend on
> sysfs. Remove unnecessary dependencies from Kconfig.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> ---
> drivers/gpio/Kconfig | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 3f50526a771f..e9473e968d9a 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -332,9 +332,7 @@ config GPIO_MM_LANTIQ
>
> config GPIO_MOCKUP
> tristate "GPIO Testing Driver"
> - depends on GPIOLIB && SYSFS
> - select GPIO_SYSFS
> - select GPIOLIB_IRQCHIP
> + depends on GPIOLIB
> select IRQ_SIM
> help
> This enables GPIO Testing driver, which provides a way to test GPIO
> --
> 2.20.1
>

Both applied to for-next.

Bart

\
 
 \ /
  Last update: 2019-03-22 16:57    [W:0.279 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site