diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2015-01-26 11:49:34 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-01-26 15:56:34 -0500 |
commit | 9136c5463f990d51c9f9361cd6be27f7f4d8fca7 (patch) | |
tree | 0a83a3698c16b804d677cababd0e26e48c2e4d6d /drivers/i2c | |
parent | 42ffd3907c1663441cd1bd4d1a575930b63a5964 (diff) |
i2c: designware-baytrail: use proper Kconfig dependencies
IOSF_MBI depends on PCI, so we should not select it but depend on it.
This ensures also we compile on X86 only, other archs will break because
of an arch specific include. Also depend on ACPI since this driver uses
it.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: David E. Box <david.e.box@linux.intel.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 83062b2c0e6b..442408d2e7b7 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -467,8 +467,7 @@ config I2C_DESIGNWARE_PCI | |||
467 | 467 | ||
468 | config I2C_DESIGNWARE_BAYTRAIL | 468 | config I2C_DESIGNWARE_BAYTRAIL |
469 | bool "Intel Baytrail I2C semaphore support" | 469 | bool "Intel Baytrail I2C semaphore support" |
470 | depends on I2C_DESIGNWARE_PLATFORM | 470 | depends on I2C_DESIGNWARE_PLATFORM && IOSF_MBI && ACPI |
471 | select IOSF_MBI | ||
472 | help | 471 | help |
473 | This driver enables managed host access to the PMIC I2C bus on select | 472 | This driver enables managed host access to the PMIC I2C bus on select |
474 | Intel BayTrail platforms using the X-Powers AXP288 PMIC. It allows | 473 | Intel BayTrail platforms using the X-Powers AXP288 PMIC. It allows |