summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-05-31 09:25:19 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:06:51 +0100
commitf33244bbe2774e2edd5b864236a6282812589390 (patch)
treed4539ce2342d25fb65d56fbb22fff6feaa4b9853
parent5244c323f88bd8c0447cd92b105bde747c805eff (diff)
SGX fix omap_device_set_rate args
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/gpu/pvr/omap4/sysutils_linux.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/pvr/omap4/sysutils_linux.c b/drivers/gpu/pvr/omap4/sysutils_linux.c
index 508020adb6a..eebeb4c3e22 100644
--- a/drivers/gpu/pvr/omap4/sysutils_linux.c
+++ b/drivers/gpu/pvr/omap4/sysutils_linux.c
@@ -158,8 +158,7 @@ PVRSRV_ERROR EnableSGXClocks(SYS_DATA *psSysData)
PVR_DPF((PVR_DBG_MESSAGE, "EnableSGXClocks: Enabling SGX Clocks"));
#if defined(LDM_PLATFORM) && !defined(PVR_DRI_DRM_NOT_PCI)
- omap_device_set_rate(&gpsPVRLDMDev->dev,
- &gpsPVRLDMDev->dev, SYS_SGX_CLOCK_SPEED);
+ omap_device_set_rate(&gpsPVRLDMDev->dev, SYS_SGX_CLOCK_SPEED);
{
@@ -206,8 +205,7 @@ IMG_VOID DisableSGXClocks(SYS_DATA *psSysData)
PVR_DPF((PVR_DBG_ERROR, "DisableSGXClocks: pm_runtime_put_sync failed (%d)", -res));
}
}
- omap_device_set_rate(&gpsPVRLDMDev->dev,
- &gpsPVRLDMDev->dev, 0);
+ omap_device_set_rate(&gpsPVRLDMDev->dev, 0);
#endif