diff options
author | Khalil Blaiech <[email protected]> | 2020-11-03 14:54:38 -0500 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2020-11-06 15:51:40 +0100 |
commit | ed01ddc618fc356bbc7b702823c87ed3ada198a6 (patch) | |
tree | 840989f847e6f6483c40163f38cf738e3344b932 /scripts/gdb/linux/utils.py | |
parent | a49cc1fe9d64a2dc4e19b599204f403e5d25f44b (diff) |
i2c: mlxbf: Add CONFIG_ACPI to guard ACPI function call
The build fails with "implicit declaration of function
'acpi_device_uid'" error. Thus, protect ACPI function calls
from being called when CONFIG_ACPI is disabled.
Fixes: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Vadim Pasternak <[email protected]>
Signed-off-by: Khalil Blaiech <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions