Commit 4b1d53f0 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove counter_mode_register_t typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4651db97
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment