diff mbox series

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

Message ID 20180719101932.23954-4-kai.heng.feng@canonical.com
State New
Headers show
Series Enable AMD PCIe MP2 for AMDI0011 | expand

Commit Message

Kai-Heng Feng July 19, 2018, 10:19 a.m. UTC
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@canonical.com>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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.