diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-10-29 16:37:09 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-10-29 18:51:28 -0400 |
commit | 9cc11dee3ddf140e39b0088688bfe5ee45d63b41 (patch) | |
tree | 7a8ee331abca16b27a667111932a0c5500700d34 /drivers/i2c/busses | |
parent | e0b11c3c38de5b40301645e4d9f25a167a18990c (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>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
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 | |||
398 | 398 | ||
399 | config I2C_INTEL_MID | 399 | config 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. |