[PATCH 1/2] drm: radeon: ni_dpm: Fix unused variable warning when CONFIG_ACPI=n

2013-11-14 Thread Alex Deucher
On Sat, Nov 9, 2013 at 12:59 PM, Fabio Estevam wrote: > From: Fabio Estevam > > With CONFIG_ACPI=n the following build warning is seen: > > drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' > [-Wunused-variable] > > Move the definition of eg_pi inside the CONFIG_ACPI 'if'

[PATCH 1/2] drm: radeon: ni_dpm: Fix unused variable warning when CONFIG_ACPI=n

2013-11-09 Thread Fabio Estevam
From: Fabio Estevam With CONFIG_ACPI=n the following build warning is seen: drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' [-Wunused-variable] Move the definition of eg_pi inside the CONFIG_ACPI 'if' block. Signed-off-by: Fabio Estevam --- drivers/gpu/drm/radeon/n