]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: SAUCE: i2c:amd Depends on ACPI
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 19 Jul 2018 10:19:00 +0000 (12:19 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 08:30:45 +0000 (10:30 +0200)
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>
Acked-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/i2c/busses/Kconfig

index 3e9103a2ff31875f01b148d3a064798fd940385f..9803b594d0e0dff5be415a417f23b92aa4214c2c 100644 (file)
@@ -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.