Alex Deucher 936b32643c 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>
2013-11-15 15:29:31 -05:00
..
2013-09-03 11:37:15 -07:00
2013-10-21 13:39:37 +02:00
2013-09-09 16:35:29 -07:00
2013-10-24 13:00:24 +11:00
2013-09-06 13:30:06 -07:00
2013-09-13 15:09:52 +02:00
2013-10-25 10:09:43 -07:00
2013-09-13 15:09:52 +02:00
2013-09-06 13:21:16 -07:00
2013-08-19 17:08:16 -07:00
2013-09-25 15:50:53 -07:00