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>
This commit is contained in:
Bill Pemberton
2009-03-25 11:06:45 -04:00
committed by Greg Kroah-Hartman
parent ecab384b15
commit 0a4de47be0
2 changed files with 6 additions and 4 deletions

View 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;

View 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