From: Bill Pemberton Date: Tue, 17 Mar 2009 02:07:41 +0000 (-0400) Subject: Staging: comedi: Remove pci9111_ISC0_sources typedef X-Git-Tag: firefly_0821_release~14777^2~261 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ba97b3c6258cb67450e0873584489f97d0debc5;p=firefly-linux-kernel-4.4.55.git Staging: comedi: Remove pci9111_ISC0_sources typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c index c5f7471a6b8b..1e040827fd18 100644 --- a/drivers/staging/comedi/drivers/adl_pci9111.c +++ b/drivers/staging/comedi/drivers/adl_pci9111.c @@ -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;