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>
This commit is contained in:
committed by
Bartosz Golaszewski
parent
c6b4853fa2
commit
ba134d29e9
@@ -321,9 +321,8 @@ config GPIO_HLWD
|
|||||||
|
|
||||||
config GPIO_ICH
|
config GPIO_ICH
|
||||||
tristate "Intel ICH GPIO"
|
tristate "Intel ICH GPIO"
|
||||||
depends on PCI && X86
|
depends on X86
|
||||||
select MFD_CORE
|
depends on LPC_ICH
|
||||||
select LPC_ICH
|
|
||||||
help
|
help
|
||||||
Say yes here to support the GPIO functionality of a number of Intel
|
Say yes here to support the GPIO functionality of a number of Intel
|
||||||
ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
|
ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
|
||||||
|
|||||||
@@ -5,13 +5,11 @@
|
|||||||
* Copyright (C) 2010 Extreme Engineering Solutions.
|
* Copyright (C) 2010 Extreme Engineering Solutions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/gpio/driver.h>
|
#include <linux/gpio/driver.h>
|
||||||
#include <linux/ioport.h>
|
#include <linux/ioport.h>
|
||||||
#include <linux/mfd/lpc_ich.h>
|
#include <linux/mfd/lpc_ich.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/pci.h>
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
|
|
||||||
#define DRV_NAME "gpio_ich"
|
#define DRV_NAME "gpio_ich"
|
||||||
|
|||||||
Reference in New Issue
Block a user