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: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Denis Turischev <denis@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by Randy Dunlap and committed by Samuel Ortiz 860fb8c1 8e7aafe4

+4 -1
+2 -1
drivers/gpio/Kconfig
··· 96 96 97 97 config GPIO_SCH 98 98 tristate "Intel SCH GPIO" 99 - depends on GPIOLIB 99 + depends on GPIOLIB && PCI 100 + select MFD_CORE 100 101 select LPC_SCH 101 102 help 102 103 Say yes here to support GPIO interface on Intel Poulsbo SCH.
+2
drivers/i2c/busses/Kconfig
··· 105 105 106 106 config I2C_ISCH 107 107 tristate "Intel SCH SMBus 1.0" 108 + depends on PCI 109 + select MFD_CORE 108 110 select LPC_SCH 109 111 help 110 112 Say Y here if you want to use SMBus controller on the Intel SCH