]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: comedi: Remove pci9111_ISC0_sources typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:07:41 +0000 (22:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:59 +0000 (14:53 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/adl_pci9111.c

index c5f7471a6b8b40d190742126743cfe57faed8c1f..1e040827fd182f4b92d339969f54bb722aa01789 100644 (file)
@@ -489,10 +489,10 @@ static void pci9111_autoscan_set(struct comedi_device * dev, bool autoscan)
        pci9111_trigger_and_autoscan_set(flags);
 }
 
-typedef enum {
+enum pci9111_ISC0_sources {
        irq_on_eoc,
        irq_on_fifo_half_full
-} pci9111_ISC0_sources;
+};
 
 typedef enum {
        irq_on_timer_tick,
@@ -500,7 +500,7 @@ typedef enum {
 } pci9111_ISC1_sources;
 
 static void pci9111_interrupt_source_set(struct comedi_device * dev,
-       pci9111_ISC0_sources irq_0_source, pci9111_ISC1_sources irq_1_source)
+       enum pci9111_ISC0_sources irq_0_source, pci9111_ISC1_sources irq_1_source)
 {
        int flags;