summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-10-30 00:37:09 +0400
committerBen Dooks <ben-linux@fluff.org>2010-10-30 02:51:28 +0400
commit9cc11dee3ddf140e39b0088688bfe5ee45d63b41 (patch)
tree7a8ee331abca16b27a667111932a0c5500700d34 /drivers
parente0b11c3c38de5b40301645e4d9f25a167a18990c (diff)
downloadlinux-9cc11dee3ddf140e39b0088688bfe5ee45d63b41.tar.xz
i2c-intel-mid: Driver depends on PCI
i2c-intel-mid driver uses PCI data structs and interfaces, so it should depend on PCI. Fixes these build errors: drivers/i2c/busses/i2c-intel-mid.c:977: error: implicit declaration of function 'pci_request_region' drivers/i2c/busses/i2c-intel-mid.c:1077: error: implicit declaration of function 'pci_release_region' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Ba Zheng <zheng.ba@intel.com> Cc: Jean Delvare <khali@linux-fr.org> Cc: Ben Dooks <ben-linux@fluff.org> Cc: linux-i2c@vger.kernel.org Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 8fcdfbae64bd..175ba23b67d7 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -398,6 +398,7 @@ config I2C_IMX
config I2C_INTEL_MID
tristate "Intel Moorestown/Medfield Platform I2C controller"
+ depends on PCI
help
Say Y here if you have an Intel Moorestown/Medfield platform I2C
controller.