aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/epl/Epl.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-03-23 13:45:12 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 17:54:20 -0400
commitd10f46992fb59de804550999806e1e0c0aa335a8 (patch)
treee407c5b339b56b311faef2577e17c1b98da4bb46 /drivers/staging/epl/Epl.h
parent335914e315103100dd27a648744fd2440d31075d (diff)
Staging: epl: remove PUBLIC definition
It doesn't make sense here, so delete it. Cc: Daniel Krueger <daniel.krueger@systec-electronic.com> Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/epl/Epl.h')
-rw-r--r--drivers/staging/epl/Epl.h87
1 files changed, 43 insertions, 44 deletions
diff --git a/drivers/staging/epl/Epl.h b/drivers/staging/epl/Epl.h
index be60f771b63..6e5910d1915 100644
--- a/drivers/staging/epl/Epl.h
+++ b/drivers/staging/epl/Epl.h
@@ -131,9 +131,9 @@ typedef union {
131 131
132} tEplApiEventArg; 132} tEplApiEventArg;
133 133
134typedef tEplKernel(PUBLIC ROM * tEplApiCbEvent) (tEplApiEventType EventType_p, // IN: event type (enum) 134typedef tEplKernel(ROM *tEplApiCbEvent) (tEplApiEventType EventType_p, // IN: event type (enum)
135 tEplApiEventArg * pEventArg_p, // IN: event argument (union) 135 tEplApiEventArg *pEventArg_p, // IN: event argument (union)
136 void GENERIC * pUserArg_p); 136 void GENERIC *pUserArg_p);
137 137
138typedef struct { 138typedef struct {
139 unsigned int m_uiSizeOfStruct; 139 unsigned int m_uiSizeOfStruct;
@@ -212,62 +212,61 @@ typedef struct {
212// function prototypes 212// function prototypes
213//--------------------------------------------------------------------------- 213//---------------------------------------------------------------------------
214 214
215tEplKernel PUBLIC EplApiInitialize(tEplApiInitParam * pInitParam_p); 215tEplKernel EplApiInitialize(tEplApiInitParam *pInitParam_p);
216 216
217tEplKernel PUBLIC EplApiShutdown(void); 217tEplKernel EplApiShutdown(void);
218 218
219tEplKernel PUBLIC EplApiReadObject(tEplSdoComConHdl * pSdoComConHdl_p, 219tEplKernel EplApiReadObject(tEplSdoComConHdl *pSdoComConHdl_p,
220 unsigned int uiNodeId_p, 220 unsigned int uiNodeId_p,
221 unsigned int uiIndex_p, 221 unsigned int uiIndex_p,
222 unsigned int uiSubindex_p, 222 unsigned int uiSubindex_p,
223 void *pDstData_le_p, 223 void *pDstData_le_p,
224 unsigned int *puiSize_p, 224 unsigned int *puiSize_p,
225 tEplSdoType SdoType_p, void *pUserArg_p); 225 tEplSdoType SdoType_p, void *pUserArg_p);
226 226
227tEplKernel PUBLIC EplApiWriteObject(tEplSdoComConHdl * pSdoComConHdl_p, 227tEplKernel EplApiWriteObject(tEplSdoComConHdl *pSdoComConHdl_p,
228 unsigned int uiNodeId_p, 228 unsigned int uiNodeId_p,
229 unsigned int uiIndex_p, 229 unsigned int uiIndex_p,
230 unsigned int uiSubindex_p, 230 unsigned int uiSubindex_p,
231 void *pSrcData_le_p, 231 void *pSrcData_le_p,
232 unsigned int uiSize_p, 232 unsigned int uiSize_p,
233 tEplSdoType SdoType_p, void *pUserArg_p); 233 tEplSdoType SdoType_p, void *pUserArg_p);
234 234
235tEplKernel PUBLIC EplApiFreeSdoChannel(tEplSdoComConHdl SdoComConHdl_p); 235tEplKernel EplApiFreeSdoChannel(tEplSdoComConHdl SdoComConHdl_p);
236 236
237tEplKernel PUBLIC EplApiReadLocalObject(unsigned int uiIndex_p, 237tEplKernel EplApiReadLocalObject(unsigned int uiIndex_p,
238 unsigned int uiSubindex_p, 238 unsigned int uiSubindex_p,
239 void *pDstData_p, 239 void *pDstData_p,
240 unsigned int *puiSize_p); 240 unsigned int *puiSize_p);
241 241
242tEplKernel PUBLIC EplApiWriteLocalObject(unsigned int uiIndex_p, 242tEplKernel EplApiWriteLocalObject(unsigned int uiIndex_p,
243 unsigned int uiSubindex_p, 243 unsigned int uiSubindex_p,
244 void *pSrcData_p, 244 void *pSrcData_p,
245 unsigned int uiSize_p); 245 unsigned int uiSize_p);
246 246
247tEplKernel PUBLIC EplApiCbObdAccess(tEplObdCbParam MEM * pParam_p); 247tEplKernel EplApiCbObdAccess(tEplObdCbParam MEM *pParam_p);
248 248
249tEplKernel PUBLIC EplApiLinkObject(unsigned int uiObjIndex_p, 249tEplKernel EplApiLinkObject(unsigned int uiObjIndex_p,
250 void *pVar_p, 250 void *pVar_p,
251 unsigned int *puiVarEntries_p, 251 unsigned int *puiVarEntries_p,
252 tEplObdSize * pEntrySize_p, 252 tEplObdSize *pEntrySize_p,
253 unsigned int uiFirstSubindex_p); 253 unsigned int uiFirstSubindex_p);
254 254
255tEplKernel PUBLIC EplApiExecNmtCommand(tEplNmtEvent NmtEvent_p); 255tEplKernel EplApiExecNmtCommand(tEplNmtEvent NmtEvent_p);
256 256
257tEplKernel PUBLIC EplApiProcess(void); 257tEplKernel EplApiProcess(void);
258 258
259#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 259#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
260tEplKernel PUBLIC EplApiMnTriggerStateChange(unsigned int uiNodeId_p, 260tEplKernel EplApiMnTriggerStateChange(unsigned int uiNodeId_p,
261 tEplNmtNodeCommand NodeCommand_p); 261 tEplNmtNodeCommand NodeCommand_p);
262#endif 262#endif
263 263
264tEplKernel PUBLIC EplApiGetIdentResponse(unsigned int uiNodeId_p, 264tEplKernel EplApiGetIdentResponse(unsigned int uiNodeId_p,
265 tEplIdentResponse ** 265 tEplIdentResponse **ppIdentResponse_p);
266 ppIdentResponse_p);
267 266
268// functions for process image will be implemented in separate file 267// functions for process image will be implemented in separate file
269tEplKernel PUBLIC EplApiProcessImageSetup(void); 268tEplKernel EplApiProcessImageSetup(void);
270tEplKernel PUBLIC EplApiProcessImageExchangeIn(tEplApiProcessImage * pPI_p); 269tEplKernel EplApiProcessImageExchangeIn(tEplApiProcessImage *pPI_p);
271tEplKernel PUBLIC EplApiProcessImageExchangeOut(tEplApiProcessImage * pPI_p); 270tEplKernel EplApiProcessImageExchangeOut(tEplApiProcessImage *pPI_p);
272 271
273#endif // #ifndef _EPL_API_H_ 272#endif // #ifndef _EPL_API_H_