From: Andy Shevchenko Date: Fri, 2 Apr 2021 18:42:25 +0000 (+0300) Subject: gpio: ich: Switch to be dependent on LPC_ICH X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=058459043e71b5c1703194ea71aab576c0ff4f4d;p=users%2Fjedix%2Flinux-maple.git gpio: ich: Switch to be dependent on LPC_ICH Driver is neither dependent to PCI nor using MFD_CORE. Replace those dependency and selection by dependency on LPC_ICH. Signed-off-by: Andy Shevchenko --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 67c16429a5f2b..287303552d8c6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -321,9 +321,8 @@ config GPIO_HLWD config GPIO_ICH tristate "Intel ICH GPIO" - depends on PCI && X86 - select MFD_CORE - select LPC_ICH + depends on X86 + depends on LPC_ICH help Say yes here to support the GPIO functionality of a number of Intel ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c index de56c013a6586..3b31f5e9bf402 100644 --- a/drivers/gpio/gpio-ich.c +++ b/drivers/gpio/gpio-ich.c @@ -5,13 +5,11 @@ * Copyright (C) 2010 Extreme Engineering Solutions. */ - #include #include #include #include #include -#include #include #define DRV_NAME "gpio_ich"