Staging: comedi: Remove str_TimerDetails typedef in addi-data/addi_eeprom.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:06:13 +0000 (11:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:27 +0000 (11:00 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/addi_eeprom.c

index f7e5a78..e0da604 100644 (file)
@@ -84,17 +84,19 @@ struct str_DigitalOutputHeader {
 
 // used for timer as well as watchdog
 
-typedef struct {
+struct str_TimerDetails {
+
        unsigned short w_HeaderSize;
        unsigned char b_Resolution;
        unsigned char b_Mode;           // in case of Watchdog it is functionality
        unsigned short w_MinTiming;
        unsigned char b_TimeBase;
-} str_TimerDetails;
+};
+
 typedef struct {
 
        unsigned short w_Ntimer;
-       str_TimerDetails s_TimerDetails[4];     //  supports 4 timers
+       struct str_TimerDetails s_TimerDetails[4];      //  supports 4 timers
 } str_TimerMainHeader;
 
 typedef struct {