提交 9136c546 编写于 作者: W Wolfram Sang

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: NWolfram Sang <wsa@the-dreams.de>
Acked-by: NDavid E. Box <david.e.box@linux.intel.com>
上级 42ffd390
...@@ -467,8 +467,7 @@ config I2C_DESIGNWARE_PCI ...@@ -467,8 +467,7 @@ config I2C_DESIGNWARE_PCI
config I2C_DESIGNWARE_BAYTRAIL config I2C_DESIGNWARE_BAYTRAIL
bool "Intel Baytrail I2C semaphore support" bool "Intel Baytrail I2C semaphore support"
depends on I2C_DESIGNWARE_PLATFORM depends on I2C_DESIGNWARE_PLATFORM && IOSF_MBI && ACPI
select IOSF_MBI
help help
This driver enables managed host access to the PMIC I2C bus on select This driver enables managed host access to the PMIC I2C bus on select
Intel BayTrail platforms using the X-Powers AXP288 PMIC. It allows Intel BayTrail platforms using the X-Powers AXP288 PMIC. It allows
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册