Skip to content

Commit

Permalink
Staging: comedi: Remove counter_mode_register_t typedef
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 4651db9 commit 4b1d53f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/comedi/drivers/s526.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit 4b1d53f

Please sign in to comment.