diff options
author | Andy Green <andy.green@linaro.org> | 2011-08-25 08:02:06 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-08-25 08:02:06 +0100 |
commit | 2d040cb196bf99f159359e814abf09fa48837882 (patch) | |
tree | c4755f5a317fe95e50dfddb58f9e4b8ec8e9893a | |
parent | 5e248997793ea85f337830fe186d847d25f01bdb (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.c | 6 |
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 |