i2c: I2C_MLXCPLD on ARM64 should depend on ACPI
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Sep 2023 12:00:36 +0000 (14:00 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 13 Sep 2023 08:56:10 +0000 (10:56 +0200)
commitb2cacc2e818717545e6d0cc453b72f98249398bf
tree8514594d0194674306b05dbe9251c6d1027f97d8
parent24dc13f94367edb314b13923818d98dd565edc44
i2c: I2C_MLXCPLD on ARM64 should depend on ACPI

The "i2c_mlxcpld" platform device is only instantiated on X86 systems
(through drivers/platform/x86/mlx-platform.c), or on ARM64 systems with
ACPI (through drivers/platform/mellanox/nvsw-sn2201.c).  Hence further
restrict the dependency on ARM64 to ACPI, to prevent asking the user
about this driver when configuring an ARM64 kernel without ACPI support.

While at it, document in the Kconfig help text that the driver supports
ARM64/ACPI based systems, too.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Vadim Pasternak <vadimp@nvidia.com>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/Kconfig