From: Randy Dunlap Date: Fri, 29 Oct 2010 20:37:09 +0000 (-0700) Subject: i2c-intel-mid: Driver depends on PCI X-Git-Tag: v2.6.37-rc1~29^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=9cc11dee3ddf140e39b0088688bfe5ee45d63b41 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 Cc: Ba Zheng Cc: Jean Delvare Cc: Ben Dooks Cc: linux-i2c@vger.kernel.org Signed-off-by: Ben Dooks --- 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.