From: Bill Pemberton Date: Wed, 25 Mar 2009 15:06:45 +0000 (-0400) Subject: Staging: comedi: Remove str_BoardInfos typedef in addi-data/hwdrv_apci3200 X-Git-Tag: 2.1b_release~12189^2~314 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a4de47be0cd74c6665a5519c40f692dbbd54110;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git Staging: comedi: Remove str_BoardInfos typedef in addi-data/hwdrv_apci3200 Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- 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