aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c')
-rwxr-xr-xdrivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c b/drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c
index 0b80880999d..227eca1eca4 100755
--- a/drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c
+++ b/drivers/staging/ice4100/sgx535/devices/sgx/sgxpower.c
@@ -351,8 +351,9 @@ PVRSRV_ERROR SGXPreClockSpeedChange(void *hDevHandle,
PVRSRV_DEV_POWER_STATE eCurrentPowerState)
{
PVRSRV_ERROR eError;
- PVRSRV_DEVICE_NODE *psDeviceNode = hDevHandle;
- PVRSRV_SGXDEV_INFO *psDevInfo = psDeviceNode->pvDevice;
+ /* FIXME MLD Compiler warning temporary fix */
+ /* PVRSRV_DEVICE_NODE *psDeviceNode = hDevHandle; */
+ /* PVRSRV_SGXDEV_INFO *psDevInfo = psDeviceNode->pvDevice; */
if (eCurrentPowerState == PVRSRV_DEV_POWER_STATE_ON) {
if (bIdleDevice) {
@@ -370,10 +371,10 @@ PVRSRV_ERROR SGXPreClockSpeedChange(void *hDevHandle,
}
}
}
-
- PVR_DPF((PVR_DBG_MESSAGE,
+ /* FIXME MLD get rid of this macro and use the right stuf */
+ /* PVR_DPF((PVR_DBG_MESSAGE,
"SGXPreClockSpeedChange: SGX clock speed was %luHz",
- psDevInfo->ui32CoreClockSpeed));
+ psDevInfo->ui32CoreClockSpeed)); */
return PVRSRV_OK;
}
@@ -384,7 +385,8 @@ PVRSRV_ERROR SGXPostClockSpeedChange(void *hDevHandle,
{
PVRSRV_DEVICE_NODE *psDeviceNode = hDevHandle;
PVRSRV_SGXDEV_INFO *psDevInfo = psDeviceNode->pvDevice;
- u32 ui32OldClockSpeed = psDevInfo->ui32CoreClockSpeed;
+ /* FIXME MLD remove this if it is not necessary */
+ /* u32 ui32OldClockSpeed = psDevInfo->ui32CoreClockSpeed;*/
if (eCurrentPowerState == PVRSRV_DEV_POWER_STATE_ON) {
PVRSRV_ERROR eError;