diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2021-06-09 09:55:11 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-09 11:52:20 +0100 |
commit | 22c2d71891558170ed6d1a6bfe08caba254eafc6 (patch) | |
tree | afb9ad9147477fdc27269ae87803116dc5fc48a3 /security/apparmor/include/domain.h | |
parent | 249c9dc6aa0db74a0f7908efd04acf774e19b155 (diff) |
iommu/arm-smmu-qcom: Protect acpi_match_platform_list() call with CONFIG_ACPI
The struct acpi_platform_list and function acpi_match_platform_list()
defined in include/linux/acpi.h are available only when CONFIG_ACPI is
enabled. Add protection to fix the build issues with !CONFIG_ACPI.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210609015511.3955-1-shawn.guo@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'security/apparmor/include/domain.h')
0 files changed, 0 insertions, 0 deletions