Staging: comedi: Remove str_MainHeader typedef in addi-data/addi_eeprom.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:05:57 +0000 (11:05 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:26 +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 10f8ed8..5184c6d 100644 (file)
@@ -64,11 +64,11 @@ struct str_Functionality {
        unsigned short w_Address;
 };
 
-typedef struct {
+struct str_MainHeader {
        unsigned short w_HeaderSize;
        unsigned char b_Nfunctions;
        struct str_Functionality s_Functions[7];
-} str_MainHeader;
+};
 
 typedef struct {
        unsigned short w_Nchannel;
@@ -801,7 +801,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
 {
        unsigned short w_Temp, i, w_Count = 0;
        unsigned int ui_Temp;
-       str_MainHeader s_MainHeader;
+       struct str_MainHeader s_MainHeader;
        str_DigitalInputHeader s_DigitalInputHeader;
        str_DigitalOutputHeader s_DigitalOutputHeader;
        //str_TimerMainHeader     s_TimerMainHeader,s_WatchdogMainHeader;