Commit 52b806e8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Wolfram Sang
Browse files

i2c: I2C_HISI should depend on ACPI

The HiSilicon Kunpeng I2C controller driver relies on ACPI to probe for
its presence.  Hence add a dependency on ACPI, to prevent asking the
user about this driver when configuring a kernel without ACPI firmware

Fixes: d62fbdb9

 ("i2c: add support for HiSilicon I2C controller")
Signed-off-by: default avatarGeert Uytterhoeven <>
Acked-by: default avatarYicong Yang <>
Signed-off-by: default avatarWolfram Sang <>
parent 9dd45bba
......@@ -647,7 +647,7 @@ config I2C_HIGHLANDER
config I2C_HISI
tristate "HiSilicon I2C controller"
depends on ARM64 || COMPILE_TEST
depends on (ARM64 && ACPI) || COMPILE_TEST
Say Y here if you want to have Hisilicon I2C controller support
available on the Kunpeng Server.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment