gfx: pvr: fix regression in user debug request
authorImre Deak <imre.deak@intel.com>
Mon, 21 Nov 2011 17:48:32 +0000 (19:48 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:41 +0000 (12:28 +0300)
Fix the regression during user debug request IOCTL introduced by:
7214f0fe418 - gfx: pvr: move core debugging functions to a separate file

Spotted-and-tested-by: Pauli Nieminen <pauli.nieminen@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c

index 4e8a02f..f5c5919 100644 (file)
@@ -2692,7 +2692,7 @@ PVRSRV_ERROR SGXGetMiscInfoKM(PVRSRV_SGXDEV_INFO  *psDevInfo,
                        PVR_LOG(("User requested SGX debug info"));
 
                        
-                       SGXDumpDebugInfo(psDeviceNode->pvDevice, IMG_FALSE);
+                       SGXDumpDebugInfo(psDeviceNode, IMG_FALSE);
 
                        return PVRSRV_OK;
                }