summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-19 18:00:26 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:18 -0700
commit8b95a0e17f416e1db80c26ecd8f3e894ad271d0b (patch)
treeaf19bb6add29b4b4509bae705c126465dc133847 /drivers/staging/comedi
parent21921108bef40b75495301f5dd3d992ed66a7ba8 (diff)
downloadtalos-obmc-linux-8b95a0e17f416e1db80c26ecd8f3e894ad271d0b.tar.gz
talos-obmc-linux-8b95a0e17f416e1db80c26ecd8f3e894ad271d0b.zip
Staging: comedi: Remove me4000_ai_context_t typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/drivers/me4000.c2
-rw-r--r--drivers/staging/comedi/drivers/me4000.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/me4000.c b/drivers/staging/comedi/drivers/me4000.c
index 31f35e0eceb1..8a2e109cde70 100644
--- a/drivers/staging/comedi/drivers/me4000.c
+++ b/drivers/staging/comedi/drivers/me4000.c
@@ -1745,7 +1745,7 @@ static irqreturn_t me4000_ai_isr(int irq, void *dev_id PT_REGS_ARG)
unsigned int tmp;
struct comedi_device *dev = dev_id;
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 c = 0;
long lval;
diff --git a/drivers/staging/comedi/drivers/me4000.h b/drivers/staging/comedi/drivers/me4000.h
index db38c9915d39..6e6dc0e8f25e 100644
--- a/drivers/staging/comedi/drivers/me4000.h
+++ b/drivers/staging/comedi/drivers/me4000.h
@@ -342,7 +342,7 @@ struct me4000_ao_context {
unsigned long preload_reg;
};
-typedef struct me4000_ai_context {
+struct me4000_ai_context {
int irq;
unsigned long ctrl_reg;
@@ -358,7 +358,7 @@ typedef struct me4000_ai_context {
unsigned long start_reg;
unsigned long irq_status_reg;
unsigned long sample_counter_reg;
-} me4000_ai_context_t;
+};
typedef struct me4000_dio_context {
unsigned long dir_reg;
OpenPOWER on IntegriCloud