Commit 8b95a0e1 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove me4000_ai_context_t typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 21921108
...@@ -1745,7 +1745,7 @@ static irqreturn_t me4000_ai_isr(int irq, void *dev_id PT_REGS_ARG) ...@@ -1745,7 +1745,7 @@ static irqreturn_t me4000_ai_isr(int irq, void *dev_id PT_REGS_ARG)
unsigned int tmp; unsigned int tmp;
struct comedi_device *dev = dev_id; struct comedi_device *dev = dev_id;
struct comedi_subdevice *s = dev->subdevices; struct comedi_subdevice *s = dev->subdevices;
me4000_ai_context_t *ai_context = &info->ai_context; struct me4000_ai_context *ai_context = &info->ai_context;
int i; int i;
int c = 0; int c = 0;
long lval; long lval;
......
...@@ -342,7 +342,7 @@ struct me4000_ao_context { ...@@ -342,7 +342,7 @@ struct me4000_ao_context {
unsigned long preload_reg; unsigned long preload_reg;
}; };
typedef struct me4000_ai_context { struct me4000_ai_context {
int irq; int irq;
unsigned long ctrl_reg; unsigned long ctrl_reg;
...@@ -358,7 +358,7 @@ typedef struct me4000_ai_context { ...@@ -358,7 +358,7 @@ typedef struct me4000_ai_context {
unsigned long start_reg; unsigned long start_reg;
unsigned long irq_status_reg; unsigned long irq_status_reg;
unsigned long sample_counter_reg; unsigned long sample_counter_reg;
} me4000_ai_context_t; };
typedef struct me4000_dio_context { typedef struct me4000_dio_context {
unsigned long dir_reg; unsigned long dir_reg;
......
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