Commit 8881b568 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove str_MainHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e320671e
...@@ -64,11 +64,11 @@ struct str_Functionality { ...@@ -64,11 +64,11 @@ struct str_Functionality {
unsigned short w_Address; unsigned short w_Address;
}; };
typedef struct { struct str_MainHeader {
unsigned short w_HeaderSize; unsigned short w_HeaderSize;
unsigned char b_Nfunctions; unsigned char b_Nfunctions;
struct str_Functionality s_Functions[7]; struct str_Functionality s_Functions[7];
} str_MainHeader; };
typedef struct { typedef struct {
unsigned short w_Nchannel; unsigned short w_Nchannel;
...@@ -801,7 +801,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress, ...@@ -801,7 +801,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
{ {
unsigned short w_Temp, i, w_Count = 0; unsigned short w_Temp, i, w_Count = 0;
unsigned int ui_Temp; unsigned int ui_Temp;
str_MainHeader s_MainHeader; struct str_MainHeader s_MainHeader;
str_DigitalInputHeader s_DigitalInputHeader; str_DigitalInputHeader s_DigitalInputHeader;
str_DigitalOutputHeader s_DigitalOutputHeader; str_DigitalOutputHeader s_DigitalOutputHeader;
//str_TimerMainHeader s_TimerMainHeader,s_WatchdogMainHeader; //str_TimerMainHeader s_TimerMainHeader,s_WatchdogMainHeader;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment