]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Staging: comedi: Remove str_BoardInfos typedef in addi-data/hwdrv_apci3200
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 25 Mar 2009 15:06:45 +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/hwdrv_apci3200.c
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h

index f7c2cff5e9326ea931b87dfb8aecd57261822ce4..64dc68c112dd8ef26f8d2426d1bcc5bbc7eb91df 100644 (file)
@@ -87,7 +87,7 @@ You shoud also find the complete GPL in the COPYING file accompanying this sourc
   int i_Initialised=0;
   unsigned int ui_InterruptChannelValue[96]; //Buffer
 */
-str_BoardInfos s_BoardInfos[100];      // 100 will be the max number of boards to be used
+struct str_BoardInfos s_BoardInfos[100];       // 100 will be the max number of boards to be used
 //END JK 06.07.04: Management of sevrals boards
 
 //Begin JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
@@ -259,7 +259,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
 /*+----------------------------------------------------------------------------+*/
 
 void v_GetAPCI3200EepromCalibrationValue(unsigned int dw_PCIBoardEepromAddress,
-       str_BoardInfos * BoardInformations)
+       struct str_BoardInfos *BoardInformations)
 {
        unsigned short w_AnalogInputMainHeaderAddress;
        unsigned short w_AnalogInputComponentAddress;
index 4daace588cc737f5a4affd9bcc81fe2d36999ae7..a78efb7f2c3fe904c2ff5551a00c36d3c43ff3e5 100644 (file)
@@ -116,7 +116,8 @@ struct str_Module {
 //END JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
 
 //BEGIN JK 06.07.04: Management of sevrals boards
-typedef struct {
+struct str_BoardInfos {
+
        int i_CJCAvailable;
        int i_CJCPolarity;
        int i_CJCGain;
@@ -149,7 +150,8 @@ typedef struct {
        int i_NbrOfModule;
        struct str_Module s_Module[MAX_MODULE];
        //End JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
-} str_BoardInfos;
+};
+
 //END JK 06.07.04: Management of sevrals boards
 
 // Hardware Layer  functions for Apci3200