git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71473db
)
drm/radeon: cypress_dpm: Fix unused variable warning when CONFIG_ACPI=n
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 12 Nov 2013 17:31:54 +0000
(12:31 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 15 Nov 2013 20:29:31 +0000
(15:29 -0500)
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>
No differences found