Skip to content

Commit

Permalink
Staging: comedi: Remove pci9111_ISC0_sources typedef
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 655f78f commit 3ba97b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,18 +489,18 @@ 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,
irq_on_external_trigger
} 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;

Expand Down

0 comments on commit 3ba97b3

Please sign in to comment.