Skip to content

Commit ba134d2

Browse files
andy-shevbrgl
authored andcommitted
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 <andriy.shevchenko@linux.intel.com>
1 parent c6b4853 commit ba134d2

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

drivers/gpio/Kconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,8 @@ config GPIO_HLWD
321321

322322
config GPIO_ICH
323323
tristate "Intel ICH GPIO"
324-
depends on PCI && X86
325-
select MFD_CORE
326-
select LPC_ICH
324+
depends on X86
325+
depends on LPC_ICH
327326
help
328327
Say yes here to support the GPIO functionality of a number of Intel
329328
ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8

drivers/gpio/gpio-ich.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
* Copyright (C) 2010 Extreme Engineering Solutions.
66
*/
77

8-
98
#include <linux/bitops.h>
109
#include <linux/gpio/driver.h>
1110
#include <linux/ioport.h>
1211
#include <linux/mfd/lpc_ich.h>
1312
#include <linux/module.h>
14-
#include <linux/pci.h>
1513
#include <linux/platform_device.h>
1614

1715
#define DRV_NAME "gpio_ich"

0 commit comments

Comments
 (0)