Skip to content

Commit

Permalink
gpio: ich: Switch to be dependent on LPC_ICH
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
andy-shev authored and brgl committed May 5, 2021
1 parent c6b4853 commit ba134d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions drivers/gpio/gpio-ich.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
* Copyright (C) 2010 Extreme Engineering Solutions.
*/


#include <linux/bitops.h>
#include <linux/gpio/driver.h>
#include <linux/ioport.h>
#include <linux/mfd/lpc_ich.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_device.h>

#define DRV_NAME "gpio_ich"
Expand Down

0 comments on commit ba134d2

Please sign in to comment.