]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: comedi: Remove me4000_ai_context_t typedef
authorBill Pemberton <wfp5p@virginia.edu>
Thu, 19 Mar 2009 22:00:26 +0000 (18:00 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:18 +0000 (14:54 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/me4000.h

index 31f35e0eceb17e5eee3d5b6b3b1dabaef3ef8f69..8a2e109cde70b29b0f83b6fb89d02a2ead848674 100644 (file)
@@ -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;
index db38c9915d393c1f93c03eb9cda5e188f59d76e6..6e6dc0e8f25eda80de04132d62cefb2d01805fae 100644 (file)
@@ -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;