[PATCH 3/4] UBUNTU: SAUCE: i2c:amd Depends on ACPI

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Jul 19 10:19:31 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1773940

The AMD PCI MP2 driver requires on ACPI for its funtionality.

Modify the Kconfig to adress that, so it won't break on architectures
that don't support ACPI.

Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 8a623b9824c9..96cbb3d7721f 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -79,7 +79,7 @@ config I2C_AMD8111
 
 config I2C_AMD_MP2
 	tristate "AMD MP2"
-	depends on PCI
+	depends on ACPI && PCI
 	help
 	  If you say yes to this option, support will be included for mp2
 	  I2C interface.
-- 
2.17.1





More information about the kernel-team mailing list