diff options
Diffstat (limited to 'drivers/gpu/pvr/omap4/sysutils_linux.c')
-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 |