lkml.org 
[lkml]   [2010]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] GPIO_SCH and I2C_SCH: select MFD_SUPPORT to eliminate kconfig warnings
From: Randy Dunlap <randy.dunlap@oracle.com>

I2C_ISCH and GPIO_SCH need to select MFD_SUPPORT so that the
dependency tree hierarchy is satisfied. This eliminates the
kconfig warning:

warning: (I2C_ISCH && I2C && PCI || GPIO_SCH && GPIOLIB && PCI) selects LPC_SCH which has unmet direct dependencies (MFD_SUPPORT && PCI)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-i2c@vger.kernel.org
---
drivers/gpio/Kconfig | 1 +
drivers/i2c/busses/Kconfig | 1 +
2 files changed, 2 insertions(+)

--- lnx-2637-rc4.orig/drivers/gpio/Kconfig
+++ lnx-2637-rc4/drivers/gpio/Kconfig
@@ -102,6 +102,7 @@ config GPIO_VR41XX
config GPIO_SCH
tristate "Intel SCH GPIO"
depends on GPIOLIB && PCI
+ select MFD_SUPPORT
select MFD_CORE
select LPC_SCH
help
--- lnx-2637-rc4.orig/drivers/i2c/busses/Kconfig
+++ lnx-2637-rc4/drivers/i2c/busses/Kconfig
@@ -107,6 +107,7 @@ config I2C_I801
config I2C_ISCH
tristate "Intel SCH SMBus 1.0"
depends on PCI
+ select MFD_SUPPORT
select MFD_CORE
select LPC_SCH
help

\
 
 \ /
  Last update: 2010-12-15 01:31    [W:0.051 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site