summaryrefslogtreecommitdiffstats
path: root/drivers/staging/epl/EplTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/epl/EplTimer.h')
-rw-r--r--drivers/staging/epl/EplTimer.h46
1 files changed, 19 insertions, 27 deletions
diff --git a/drivers/staging/epl/EplTimer.h b/drivers/staging/epl/EplTimer.h
index 6dbb53b..facbfd8 100644
--- a/drivers/staging/epl/EplTimer.h
+++ b/drivers/staging/epl/EplTimer.h
@@ -66,7 +66,6 @@
2006/07/06 k.t.: start of the implementation
-
****************************************************************************/
#include "EplInc.h"
@@ -75,12 +74,10 @@
#ifndef _EPLTIMER_H_
#define _EPLTIMER_H_
-
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
@@ -88,38 +85,33 @@
// type for timer handle
typedef unsigned long tEplTimerHdl;
-typedef struct
-{
- tEplEventSink m_EventSink;
- unsigned long m_ulArg; // d.k.: converted to unsigned long because
- // it is never accessed as a pointer by the
- // timer module and the data the
- // pointer points to is not saved in any way.
- // It is just a value. The user is responsible
- // to store the data statically and convert
- // the pointer between address spaces.
+typedef struct {
+ tEplEventSink m_EventSink;
+ unsigned long m_ulArg; // d.k.: converted to unsigned long because
+ // it is never accessed as a pointer by the
+ // timer module and the data the
+ // pointer points to is not saved in any way.
+ // It is just a value. The user is responsible
+ // to store the data statically and convert
+ // the pointer between address spaces.
} tEplTimerArg;
-typedef struct
-{
- tEplTimerHdl m_TimerHdl;
- unsigned long m_ulArg; // d.k.: converted to unsigned long because
- // it is never accessed as a pointer by the
- // timer module and the data the
- // pointer points to is not saved in any way.
- // It is just a value.
+typedef struct {
+ tEplTimerHdl m_TimerHdl;
+ unsigned long m_ulArg; // d.k.: converted to unsigned long because
+ // it is never accessed as a pointer by the
+ // timer module and the data the
+ // pointer points to is not saved in any way.
+ // It is just a value.
} tEplTimerEventArg;
-typedef tEplKernel (PUBLIC * tEplTimerkCallback) (
- tEplTimerEventArg* pEventArg_p);
+typedef tEplKernel(PUBLIC * tEplTimerkCallback) (tEplTimerEventArg *
+ pEventArg_p);
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
-
-#endif // #ifndef _EPLTIMER_H_
-
-
+#endif // #ifndef _EPLTIMER_H_
OpenPOWER on IntegriCloud