drm/amd/display: Fix compile error with ACPI disabled
authorDavid Francis <David.Francis@amd.com>
Tue, 27 Nov 2018 16:10:07 +0000 (11:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:30 +0000 (15:55 -0500)
commit8bcbc9ef9657697146ef8cc86b745fc927bca4cb
tree5385e2245ff4cca4d22b8cbacd85acc05a380024
parenteb3dc8978596a045f469f13bb13271a707623ecb
drm/amd/display: Fix compile error with ACPI disabled

The fallback code for getting default backlight caps was using
the wrong variable name.  Fix it.

Fixes: https://lists.freedesktop.org/archives/dri-devel/2018-November/197752.html
Signed-off-by: David Francis <David.Francis@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c