summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorKhalil Blaiech <kblaiech@nvidia.com>2020-11-03 14:54:38 -0500
committerWolfram Sang <wsa@kernel.org>2020-11-06 15:51:40 +0100
commited01ddc618fc356bbc7b702823c87ed3ada198a6 (patch)
tree840989f847e6f6483c40163f38cf738e3344b932 /security
parenta49cc1fe9d64a2dc4e19b599204f403e5d25f44b (diff)
downloadlinux-ed01ddc618fc356bbc7b702823c87ed3ada198a6.tar.bz2
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 <lkp@intel.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Vadim Pasternak <vadimp@nvidia.com> Signed-off-by: Khalil Blaiech <kblaiech@nvidia.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions