Staging: comedi: Remove counter_mode_register_t typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4651db9732
commit
4b1d53f061
@ -112,7 +112,7 @@ static const int s526_ports[] = {
|
||||
REG_EEC
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct counter_mode_register_t {
|
||||
unsigned short coutSource:1;
|
||||
unsigned short coutPolarity:1;
|
||||
unsigned short autoLoadResetRcap:3;
|
||||
@ -124,10 +124,10 @@ typedef struct {
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user