aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ice4100/sgx535/include/perproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ice4100/sgx535/include/perproc.h')
-rwxr-xr-xdrivers/staging/ice4100/sgx535/include/perproc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ice4100/sgx535/include/perproc.h b/drivers/staging/ice4100/sgx535/include/perproc.h
index 59336c6483a..5dc7d322ad2 100755
--- a/drivers/staging/ice4100/sgx535/include/perproc.h
+++ b/drivers/staging/ice4100/sgx535/include/perproc.h
@@ -61,27 +61,27 @@ void PVRSRVPerProcessDataDisconnect(u32 ui32PID);
PVRSRV_ERROR PVRSRVPerProcessDataInit(void);
PVRSRV_ERROR PVRSRVPerProcessDataDeInit(void);
-static
+static inline
PVRSRV_PER_PROCESS_DATA *PVRSRVFindPerProcessData(void)
{
return PVRSRVPerProcessData(OSGetCurrentProcessIDKM());
}
-static
+static inline
void * PVRSRVProcessPrivateData(PVRSRV_PER_PROCESS_DATA *psPerProc)
{
return (psPerProc != NULL) ? psPerProc->hOsPrivateData : NULL;
}
-static
+static inline
void * PVRSRVPerProcessPrivateData(u32 ui32PID)
{
return PVRSRVProcessPrivateData(PVRSRVPerProcessData(ui32PID));
}
-static
+static inline
void * PVRSRVFindPerProcessPrivateData(void)
{
return PVRSRVProcessPrivateData(PVRSRVFindPerProcessData());