From 3ba97b3c6258cb67450e0873584489f97d0debc5 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Mon, 16 Mar 2009 22:07:41 -0400 Subject: [PATCH] Staging: comedi: Remove pci9111_ISC0_sources typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9111.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c index c5f7471..1e04082 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; -- 2.7.4