]> Git Repo - linux.git/commitdiff
i2c-intel-mid: Driver depends on PCI
authorRandy Dunlap <[email protected]>
Fri, 29 Oct 2010 20:37:09 +0000 (13:37 -0700)
committerBen Dooks <[email protected]>
Fri, 29 Oct 2010 22:51:28 +0000 (23:51 +0100)
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 <[email protected]>
Cc: Ba Zheng <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: [email protected]
Signed-off-by: Ben Dooks <[email protected]>
drivers/i2c/busses/Kconfig

index 8fcdfbae64bdafd26ac3dc5bc3d2be02e86af1b6..175ba23b67d70388f38a10c49848c85bfe5b6be7 100644 (file)
@@ -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.
This page took 0.056972 seconds and 4 git commands to generate.