From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next resend] i2c: designware-pcidrv depends on PCI Date: Mon, 28 Mar 2011 08:10:43 -0700 Message-ID: <20110328081043.0a71e36b.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Rothwell , Baruch Siach , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, LKML , khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org, ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org List-Id: linux-i2c@vger.kernel.org From: Randy Dunlap i2c-designware-pcidrv is a PCI driver and should depend on PCI. Fixes these build errors: drivers/i2c/busses/i2c-designware-pcidrv.c:256: error: implicit declaration of function 'pci_request_region' drivers/i2c/busses/i2c-designware-pcidrv.c:338: error: implicit declaration of function 'pci_release_region' Signed-off-by: Randy Dunlap Cc: Baruch Siach --- drivers/i2c/busses/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110316.orig/drivers/i2c/busses/Kconfig +++ linux-next-20110316/drivers/i2c/busses/Kconfig @@ -359,6 +359,7 @@ config I2C_DESIGNWARE_PLATFORM config I2C_DESIGNWARE_PCI tristate "Synopsys DesignWare PCI" + depends on PCI help If you say yes to this option, support will be included for the Synopsys DesignWare I2C adapter. Only master mode is supported. --