diff options
author | Adam Borowski <kilobyte@angband.pl> | 2022-10-10 21:33:51 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-10-21 08:59:35 +0300 |
commit | 65d78b8d0405fcda02b69fd3c34327e4af5cd465 (patch) | |
tree | 781160fc4314f8e05ee1224df07b65ea3e8438b6 /drivers/i2c/busses/Kconfig | |
parent | fdf23c62d98cda1d8935259dc7da3cc830a4bc6c (diff) | |
download | linux-65d78b8d0405fcda02b69fd3c34327e4af5cd465.tar.xz |
i2c: mlxbf: depend on ACPI; clean away ifdeffage
This fixes maybe_unused warnings/errors.
According to a comment during device tree removal, only ACPI is supported,
thus let's actually require it.
Fixes: be18c5ede25d ("i2c: mlxbf: remove device tree support")
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/Kconfig')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 264e780ae32e..e50f9603d189 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -764,6 +764,7 @@ config I2C_LPC2K config I2C_MLXBF tristate "Mellanox BlueField I2C controller" depends on MELLANOX_PLATFORM && ARM64 + depends on ACPI select I2C_SLAVE help Enabling this option will add I2C SMBus support for Mellanox BlueField |