Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
REG_EEC
};
-typedef struct {
+struct counter_mode_register_t {
unsigned short coutSource:1;
unsigned short coutPolarity:1;
unsigned short autoLoadResetRcap:3;
unsigned short outputRegLatchCtrl:1;
unsigned short preloadRegSel:1;
unsigned short reserved:1;
-} counter_mode_register_t;
+};
union {
- counter_mode_register_t reg;
+ struct counter_mode_register_t reg;
unsigned short value;
} cmReg;