Commit 860fb8c1 authored by Randy Dunlap's avatar Randy Dunlap Committed by Samuel Ortiz

mfd: Fix lpc_sch related depends/selects, fix build error

LPC_SCH is selected by GPI_SCH and I2C_ISCH, even when PCI is not
enabled, but LPC_SCH depends on PCI, so make GPI_SCH and I2C_ISCH
also depend on PCI.

Those 2 selects also need to select what LPC_SCH selects,
since kconfig does not follow selects.
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Denis Turischev <denis@compulab.co.il>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 8e7aafe4
...@@ -96,7 +96,8 @@ config GPIO_VR41XX ...@@ -96,7 +96,8 @@ config GPIO_VR41XX
config GPIO_SCH config GPIO_SCH
tristate "Intel SCH GPIO" tristate "Intel SCH GPIO"
depends on GPIOLIB depends on GPIOLIB && PCI
select MFD_CORE
select LPC_SCH select LPC_SCH
help help
Say yes here to support GPIO interface on Intel Poulsbo SCH. Say yes here to support GPIO interface on Intel Poulsbo SCH.
......
...@@ -105,6 +105,8 @@ config I2C_I801 ...@@ -105,6 +105,8 @@ config I2C_I801
config I2C_ISCH config I2C_ISCH
tristate "Intel SCH SMBus 1.0" tristate "Intel SCH SMBus 1.0"
depends on PCI
select MFD_CORE
select LPC_SCH select LPC_SCH
help help
Say Y here if you want to use SMBus controller on the Intel SCH Say Y here if you want to use SMBus controller on the Intel SCH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment