From 0077f93c5a7fa82857f6b50a3be5f732e0079e1c Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Wed, 25 Mar 2009 11:06:35 -0400 Subject: [PATCH] Staging: comedi: Remove str_AnalogReadInformation typedef in addi-data/hwdrv_apci3120.h Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.h b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.h index db5b291..f6755cd 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.h +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.h @@ -165,7 +165,8 @@ static const struct comedi_lrange range_apci3120_ao = { 2, { #define MAX_ANALOGINPUT_CHANNELS 32 -typedef struct { +struct str_AnalogReadInformation { + unsigned char b_Type; /* EOC or EOS */ unsigned char b_InterruptFlag; /* Interrupt use or not */ unsigned int ui_ConvertTiming; /* Selection of the convertion time */ @@ -173,7 +174,8 @@ typedef struct { unsigned int ui_ChannelList[MAX_ANALOGINPUT_CHANNELS]; /* Number of the channel to be read */ unsigned int ui_RangeList[MAX_ANALOGINPUT_CHANNELS]; /* Gain of each channel */ -} str_AnalogReadInformation; +}; + // Function Declaration For APCI-3120 -- 2.7.4