]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Staging: comedi: Remove str_DigitalOutputHeader typedef in addi-data/addi_eeprom.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:06:08 +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 6e23dbf28a6b7d426f709155be22445caf7ae31c..f7e5a78a373311f490e5fcad8e8c5db83b2798f3 100644 (file)
@@ -76,9 +76,11 @@ struct str_DigitalInputHeader {
        unsigned short w_NinterruptLogic;
 };
 
-typedef struct {
+struct str_DigitalOutputHeader {
+
        unsigned short w_Nchannel;
-} str_DigitalOutputHeader;
+};
+
 
 // used for timer as well as watchdog
 
@@ -121,7 +123,7 @@ int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
 
 int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_DigitalOutputHeader * s_Header);
+       struct str_DigitalOutputHeader * s_Header);
 
 int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
@@ -803,7 +805,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
        unsigned int ui_Temp;
        struct str_MainHeader s_MainHeader;
        struct str_DigitalInputHeader s_DigitalInputHeader;
-       str_DigitalOutputHeader s_DigitalOutputHeader;
+       struct str_DigitalOutputHeader s_DigitalOutputHeader;
        //str_TimerMainHeader     s_TimerMainHeader,s_WatchdogMainHeader;
        str_AnalogOutputHeader s_AnalogOutputHeader;
        str_AnalogInputHeader s_AnalogInputHeader;
@@ -959,7 +961,7 @@ int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
 +----------------------------------------------------------------------------+
 | Function Name  : int i_EepromReadDigitalOutputHeader(unsigned short                           |
 |                      w_PCIBoardEepromAddress,char *pc_PCIChipInformation,     |
-|                      unsigned short w_Address,str_DigitalOutputHeader *s_Header)          |
+|                      unsigned short w_Address,struct str_DigitalOutputHeader *s_Header)           |
 |                                                                                                                                       |
 +----------------------------------------------------------------------------+
 | Task              : Read Digital Output Header                             |
@@ -968,7 +970,7 @@ int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
 |                                                                                                                                       |
 |                    char *pc_PCIChipInformation  : PCI Chip Type.          |
 |                                                                                                                                       |
-|                       str_DigitalOutputHeader *s_Header: Digital Output Header|
+|                       struct str_DigitalOutputHeader *s_Header: Digital Output Header|
 |                                                                                         Pointer                               |
 +----------------------------------------------------------------------------+
 | Output Parameters : -                                                      |
@@ -978,7 +980,7 @@ int i_EepromReadDigitalInputHeader(unsigned short w_PCIBoardEepromAddress,
 */
 int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_DigitalOutputHeader * s_Header)
+       struct str_DigitalOutputHeader * s_Header)
 {
 // Read Nbr channels
        s_Header->w_Nchannel =