Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Bartosz Golaszewski
ba134d29 c6b4853f

+2 -5
+2 -3
drivers/gpio/Kconfig
··· 321 321 322 322 config GPIO_ICH 323 323 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 327 326 help 328 327 Say yes here to support the GPIO functionality of a number of Intel 329 328 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
-2
drivers/gpio/gpio-ich.c
··· 5 5 * Copyright (C) 2010 Extreme Engineering Solutions. 6 6 */ 7 7 8 - 9 8 #include <linux/bitops.h> 10 9 #include <linux/gpio/driver.h> 11 10 #include <linux/ioport.h> 12 11 #include <linux/mfd/lpc_ich.h> 13 12 #include <linux/module.h> 14 - #include <linux/pci.h> 15 13 #include <linux/platform_device.h> 16 14 17 15 #define DRV_NAME "gpio_ich"