drm/amd/pp: Add #ifdef checks for CONFIG_ACPI
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 6 Mar 2018 06:42:24 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:10:11 +0000 (16:10 -0500)
commit37a94791a0977500e4309fc03e4b2513384eaa6d
tree1cef955b4a1466d40ed99f07c6b7743ac2804549
parent586b9a4d7de9508ef714e5e913406376ba9c9623
drm/amd/pp: Add #ifdef checks for CONFIG_ACPI

Fix compiling error when CONFIG_ACPI not enabled.

Change-Id: I5f901adbc799c10b30e5ea79f8f44760e749fae1
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c