Staging: comedi: Remove counter_mode_register_t typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:09:07 +0000 (22:09 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:01 +0000 (14:54 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/s526.c

index e5ee543..08666e6 100644 (file)
@@ -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;