aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h')
-rwxr-xr-xdrivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h b/drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h
index eb5b48ab1dd..85cf48ac266 100755
--- a/drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h
+++ b/drivers/staging/ice4100/sgx535/bridged/bridged_pvr_bridge.h
@@ -80,7 +80,7 @@ CopyToUserWrapper(PVRSRV_PER_PROCESS_DATA *pProcData,
ASSIGN_AND_RETURN_ON_ERROR(error, src, 0)
#if defined (PVR_SECURE_HANDLES)
-static PVRSRV_ERROR
+static inline PVRSRV_ERROR
NewHandleBatch(PVRSRV_PER_PROCESS_DATA *psPerProc,
u32 ui32BatchSize)
{
@@ -101,7 +101,7 @@ NewHandleBatch(PVRSRV_PER_PROCESS_DATA *psPerProc,
#define NEW_HANDLE_BATCH_OR_ERROR(error, psPerProc, ui32BatchSize) \
ASSIGN_AND_EXIT_ON_ERROR(error, NewHandleBatch(psPerProc, ui32BatchSize))
-static PVRSRV_ERROR
+static inline PVRSRV_ERROR
CommitHandleBatch(PVRSRV_PER_PROCESS_DATA *psPerProc)
{
PVR_ASSERT(psPerProc->bHandlesBatched);
@@ -115,7 +115,7 @@ CommitHandleBatch(PVRSRV_PER_PROCESS_DATA *psPerProc)
#define COMMIT_HANDLE_BATCH_OR_ERROR(error, psPerProc) \
ASSIGN_AND_EXIT_ON_ERROR(error, CommitHandleBatch(psPerProc))
-static void
+static inline void
ReleaseHandleBatch(PVRSRV_PER_PROCESS_DATA *psPerProc)
{
if (psPerProc->bHandlesBatched)