commit | 936b32643cb03dcb34ef5dab81970229b1cc2a33 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Tue Nov 12 12:31:54 2013 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Nov 15 15:29:31 2013 -0500 |
tree | b12cb253e970a7164569638999895ba46eed78df | |
parent | 71473dbd66d4a61be4cd531ef96b4877f6ee3941 [diff] |
drm/radeon: cypress_dpm: Fix unused variable warning when CONFIG_ACPI=n With CONFIG_ACPI=n the following build warning is seen: drivers/gpu/drm/radeon/cypress_dpm.c:302:31: warning: unused variable 'eg_pi' [-Wunused-variable] Protect eg_pi with CONFIG_ACPI. Based on patch from: Fabio Estevam <fabio.estevam@freescale.com> but doesn't mix allocation and code. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>