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 f7e5a78a373311f490e5fcad8e8c5db83b2798f3..e0da604373e3ece72ddceb6dd8b951beca74238c 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 {