[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110316113855.ec5410c7.randy.dunlap@oracle.com>
Date: Wed, 16 Mar 2011 11:38:55 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Baruch Siach <baruch@...s.co.il>, linux-i2c@...r.kernel.org
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
khali@...ux-fr.org, ben-linux@...ff.org
Subject: [PATCH -next] i2c: designware-pcidrv depends on PCI
From: Randy Dunlap <randy.dunlap@...cle.com>
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 <randy.dunlap@...cle.com>
Cc: Baruch Siach <baruch@...s.co.il>
---
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists