linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] GPIO_SCH and I2C_SCH: select MFD_SUPPORT to eliminate kconfig warnings
@ 2010-12-15  0:26 Randy Dunlap
       [not found] ` <20101214162656.b8550c70.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2010-12-15  0:26 UTC (permalink / raw)
  To: lkml; +Cc: akpm, linux-i2c-u79uwXL29TY76Z2rM5mHXA

From: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>

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-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-15 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15  0:26 [PATCH] GPIO_SCH and I2C_SCH: select MFD_SUPPORT to eliminate kconfig warnings Randy Dunlap
     [not found] ` <20101214162656.b8550c70.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2010-12-15  9:15   ` Jean Delvare
     [not found]     ` <20101215101541.5952780f-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-12-15 20:11       ` Randy Dunlap
     [not found]         ` <4D0920DD.3080306-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2010-12-15 21:21           ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).