aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-10-29 16:37:09 -0400
committerBen Dooks <ben-linux@fluff.org>2010-10-29 18:51:28 -0400
commit9cc11dee3ddf140e39b0088688bfe5ee45d63b41 (patch)
tree7a8ee331abca16b27a667111932a0c5500700d34
parente0b11c3c38de5b40301645e4d9f25a167a18990c (diff)
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>
-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 8fcdfbae64b..175ba23b67d 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -398,6 +398,7 @@ config I2C_IMX
398 398
399config I2C_INTEL_MID 399config I2C_INTEL_MID
400 tristate "Intel Moorestown/Medfield Platform I2C controller" 400 tristate "Intel Moorestown/Medfield Platform I2C controller"
401 depends on PCI
401 help 402 help
402 Say Y here if you have an Intel Moorestown/Medfield platform I2C 403 Say Y here if you have an Intel Moorestown/Medfield platform I2C
403 controller. 404 controller.