diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-19 17:09:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:37 -0800 |
commit | e0ca0595885e2e324eefe4f32cde6d65e61e6e28 (patch) | |
tree | c53676354254656be8d1f197f5d8f88526355b7b /drivers/staging/epl/EplPdo.h | |
parent | bd5cd82dc6148aa8f655620e6f3bf62e5e320078 (diff) |
Staging: epl: run Lindent on *.h files
It's a start, still a mess...
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/EplPdo.h')
-rw-r--r-- | drivers/staging/epl/EplPdo.h | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/drivers/staging/epl/EplPdo.h b/drivers/staging/epl/EplPdo.h index 0273a94773f..d22ac86e85b 100644 --- a/drivers/staging/epl/EplPdo.h +++ b/drivers/staging/epl/EplPdo.h @@ -66,7 +66,6 @@ 2006/05/22 d.k.: start of the implementation, version 1.00 - ****************************************************************************/ #ifndef _EPL_PDO_H_ @@ -85,42 +84,34 @@ // NodeId for PRes TPDO #define EPL_PDO_PRES_NODE_ID 0x00 - //--------------------------------------------------------------------------- // typedef //--------------------------------------------------------------------------- -typedef struct -{ - void* m_pVar; - WORD m_wOffset; // in Bits - WORD m_wSize; // in Bits - BOOL m_fNumeric; // numeric value -> use AMI functions +typedef struct { + void *m_pVar; + WORD m_wOffset; // in Bits + WORD m_wSize; // in Bits + BOOL m_fNumeric; // numeric value -> use AMI functions } tEplPdoMapping; -typedef struct -{ - unsigned int m_uiSizeOfStruct; - unsigned int m_uiPdoId; - unsigned int m_uiNodeId; - // 0xFF=invalid, RPDO: 0x00=PReq, localNodeId=PRes, remoteNodeId=PRes - // TPDO: 0x00=PRes, MN: CnNodeId=PReq +typedef struct { + unsigned int m_uiSizeOfStruct; + unsigned int m_uiPdoId; + unsigned int m_uiNodeId; + // 0xFF=invalid, RPDO: 0x00=PReq, localNodeId=PRes, remoteNodeId=PRes + // TPDO: 0x00=PRes, MN: CnNodeId=PReq - BOOL m_fTxRx; - BYTE m_bMappingVersion; - unsigned int m_uiMaxMappingEntries; // maximum number of mapping entries, i.e. size of m_aPdoMapping - tEplPdoMapping m_aPdoMapping[1]; + BOOL m_fTxRx; + BYTE m_bMappingVersion; + unsigned int m_uiMaxMappingEntries; // maximum number of mapping entries, i.e. size of m_aPdoMapping + tEplPdoMapping m_aPdoMapping[1]; } tEplPdoParam; - - //--------------------------------------------------------------------------- // function prototypes //--------------------------------------------------------------------------- - -#endif // #ifndef _EPL_PDO_H_ - - +#endif // #ifndef _EPL_PDO_H_ |