mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 02:07:34 +03:00
ACPI configs are not required for aaos as aaos is booted with dtb and not acpi. Disabling CONFIG_ACPI results in a build failure as it's undefined in the #if directive so adding this check to see whether it is defined resolves the issue and allows aaos to build successfully with CONFIG_ACPI disabled Bug 4559177 Change-Id: I9f068c373d6dc57acb610a107eb8a2e90a0e944b Signed-off-by: Ahmad Chaudhry <ahmadc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3115456 Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>