]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-intel-mid: Driver depends on PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 29 Oct 2010 20:37:09 +0000 (13:37 -0700)
committerBen Dooks <ben-linux@fluff.org>
Fri, 29 Oct 2010 22:51:28 +0000 (23:51 +0100)
commitd9eee2195cc5b488ef4834b8120298e150c7ab0f
tree7a8ee331abca16b27a667111932a0c5500700d34
parent440e9eda3bf22d1c4a6753f200d8079e0889aa04
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>
drivers/i2c/busses/Kconfig