Staging: comedi: Remove str_DigitalInputHeader typedef in addi-data/addi_eeprom.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:06:03 +0000 (11:06 -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 5184c6de6dba9dfb25ebf49ac4e9cfe7a5f3139a..6e23dbf28a6b7d426f709155be22445caf7ae31c 100644 (file)
@@ -70,11 +70,11 @@ struct str_MainHeader {
        struct str_Functionality s_Functions[7];
 };
 
-typedef struct {
+struct str_DigitalInputHeader {
        unsigned short w_Nchannel;
        unsigned char b_Interruptible;
        unsigned short w_NinterruptLogic;
-} str_DigitalInputHeader;
+};
 
 typedef struct {
        unsigned short w_Nchannel;
@@ -117,7 +117,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
 
 int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_DigitalInputHeader * s_Header);
+       struct str_DigitalInputHeader * s_Header);
 
 int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
@@ -802,7 +802,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
        unsigned short w_Temp, i, w_Count = 0;
        unsigned int ui_Temp;
        struct str_MainHeader s_MainHeader;
-       str_DigitalInputHeader s_DigitalInputHeader;
+       struct str_DigitalInputHeader s_DigitalInputHeader;
        str_DigitalOutputHeader s_DigitalOutputHeader;
        //str_TimerMainHeader     s_TimerMainHeader,s_WatchdogMainHeader;
        str_AnalogOutputHeader s_AnalogOutputHeader;
@@ -914,7 +914,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
 +----------------------------------------------------------------------------+
 | Function Name  : int i_EepromReadDigitalInputHeader(unsigned short                                    |
 |                      w_PCIBoardEepromAddress,char *pc_PCIChipInformation,     |
-|                      unsigned short w_Address,str_DigitalInputHeader *s_Header)               |
+|                      unsigned short w_Address,struct str_DigitalInputHeader *s_Header)                |
 |                                                                                                                                       |
 +----------------------------------------------------------------------------+
 | Task              : Read Digital Input Header                              |
@@ -923,7 +923,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
 |                                                                                                                                       |
 |                    char *pc_PCIChipInformation  : PCI Chip Type.          |
 |                                                                                                                                       |
-|                       str_DigitalInputHeader *s_Header: Digita Input Header   |
+|                       struct str_DigitalInputHeader *s_Header: Digita Input Header   |
 |                                                                                                 Pointer                       |
 +----------------------------------------------------------------------------+
 | Output Parameters : -                                                      |
@@ -933,7 +933,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
 */
 int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_DigitalInputHeader * s_Header)
+       struct str_DigitalInputHeader *s_Header)
 {
        unsigned short w_Temp;