From 6dcf28324ad58700a1cd4821d8fabaffa355c25c Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 21 Nov 2011 19:48:32 +0200 Subject: [PATCH] gfx: pvr: fix regression in user debug request 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 Signed-off-by: Imre Deak Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c index 4e8a02f..f5c5919 100644 --- a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c +++ b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c @@ -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; } -- 2.7.4