Skip to content

Commit

Permalink
mfd: Fix lpc_sch related depends/selects, fix build error
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Denis Turischev <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
  • Loading branch information
rddunlap authored and Samuel Ortiz committed Mar 7, 2010
1 parent 8e7aafe commit 860fb8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ config GPIO_VR41XX

config GPIO_SCH
tristate "Intel SCH GPIO"
depends on GPIOLIB
depends on GPIOLIB && PCI
select MFD_CORE
select LPC_SCH
help
Say yes here to support GPIO interface on Intel Poulsbo SCH.
Expand Down
2 changes: 2 additions & 0 deletions drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ config I2C_I801

config I2C_ISCH
tristate "Intel SCH SMBus 1.0"
depends on PCI
select MFD_CORE
select LPC_SCH
help
Say Y here if you want to use SMBus controller on the Intel SCH
Expand Down

0 comments on commit 860fb8c

Please sign in to comment.