]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Staging: comedi: Remove str_TimerMainHeader typedef in addi-data/addi_eeprom.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:06:19 +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 e0da604373e3ece72ddceb6dd8b951beca74238c..2e9c15debdb4ed4925d619d1e43aeb579583c9f3 100644 (file)
@@ -93,11 +93,13 @@ struct str_TimerDetails {
        unsigned char b_TimeBase;
 };
 
-typedef struct {
+struct str_TimerMainHeader {
+
 
        unsigned short w_Ntimer;
        struct str_TimerDetails s_TimerDetails[4];      //  supports 4 timers
-} str_TimerMainHeader;
+};
+
 
 typedef struct {
        unsigned short w_Nchannel;
@@ -129,7 +131,7 @@ int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
 
 int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_TimerMainHeader * s_Header);
+       struct str_TimerMainHeader * s_Header);
 
 int i_EepromReadAnlogOutputHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
@@ -808,7 +810,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
        struct str_MainHeader s_MainHeader;
        struct str_DigitalInputHeader s_DigitalInputHeader;
        struct str_DigitalOutputHeader s_DigitalOutputHeader;
-       //str_TimerMainHeader     s_TimerMainHeader,s_WatchdogMainHeader;
+       //struct str_TimerMainHeader     s_TimerMainHeader,s_WatchdogMainHeader;
        str_AnalogOutputHeader s_AnalogOutputHeader;
        str_AnalogInputHeader s_AnalogInputHeader;
 
@@ -995,7 +997,7 @@ int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
 +----------------------------------------------------------------------------+
 | Function Name  : int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress, |
 |                      char *pc_PCIChipInformation,WORD w_Address,                              |
-|                      str_TimerMainHeader *s_Header)                                                   |
+|                      struct str_TimerMainHeader *s_Header)                                                    |
 +----------------------------------------------------------------------------+
 | Task              : Read Timer or Watchdog Header                          |
 +----------------------------------------------------------------------------+
@@ -1003,7 +1005,7 @@ int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
 |                                                                                                                                       |
 |                    char *pc_PCIChipInformation  : PCI Chip Type.          |
 |                                                                                                                                       |
-|                       str_TimerMainHeader *s_Header: Timer Header                     |
+|                       struct str_TimerMainHeader *s_Header: Timer Header                      |
 |                                                                                         Pointer                               |
 +----------------------------------------------------------------------------+
 | Output Parameters : -                                                      |
@@ -1013,7 +1015,7 @@ int i_EepromReadDigitalOutputHeader(unsigned short w_PCIBoardEepromAddress,
 */
 int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress,
        char *pc_PCIChipInformation, unsigned short w_Address,
-       str_TimerMainHeader * s_Header)
+       struct str_TimerMainHeader * s_Header)
 {
 
        unsigned short i, w_Size = 0, w_Temp;