diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-25 15:06:45 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 18:00:27 (GMT) |
commit | 0a4de47be0cd74c6665a5519c40f692dbbd54110 (patch) | |
tree | 0e2a09bee239e2b2e2b9635d34262ef4a1dd2fc6 | |
parent | ecab384b155816ce1579eeb8f1dcbdbc0e9fe4e0 (diff) | |
download | linux-0a4de47be0cd74c6665a5519c40f692dbbd54110.tar.xz |
Staging: comedi: Remove str_BoardInfos typedef in addi-data/hwdrv_apci3200
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c | 4 | ||||
-rw-r--r-- | drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c index f7c2cff..64dc68c 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c @@ -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; diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h index 4daace5..a78efb7 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.h @@ -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 |