mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 15:44:01 +08:00
Staging: comedi: Remove str_MainHeader typedef in addi-data/addi_eeprom.c
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e320671e63
commit
8881b568bf
@ -64,11 +64,11 @@ struct str_Functionality {
|
||||
unsigned short w_Address;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct str_MainHeader {
|
||||
unsigned short w_HeaderSize;
|
||||
unsigned char b_Nfunctions;
|
||||
struct str_Functionality s_Functions[7];
|
||||
} str_MainHeader;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
unsigned short w_Nchannel;
|
||||
@ -801,7 +801,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
|
||||
{
|
||||
unsigned short w_Temp, i, w_Count = 0;
|
||||
unsigned int ui_Temp;
|
||||
str_MainHeader s_MainHeader;
|
||||
struct str_MainHeader s_MainHeader;
|
||||
str_DigitalInputHeader s_DigitalInputHeader;
|
||||
str_DigitalOutputHeader s_DigitalOutputHeader;
|
||||
//str_TimerMainHeader s_TimerMainHeader,s_WatchdogMainHeader;
|
||||
|
Loading…
Reference in New Issue
Block a user