diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:05:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:57 -0700 |
commit | ea6d0d4cab4f4f2d6a88f3bce4707fe92696fd3f (patch) | |
tree | 9dd69f183e6f0c92831580d458be9d7f27816dfb /drivers/staging/comedi/drivers/pcl816.c | |
parent | b50d88d08069ba14d9ba7ba6a15414fdbd077508 (diff) | |
download | linux-rt-ea6d0d4cab4f4f2d6a88f3bce4707fe92696fd3f.tar.gz |
Staging: comedi: Remove comedi_cmd typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/pcl816.c')
-rw-r--r-- | drivers/staging/comedi/drivers/pcl816.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c index d90e2e584f63..60d7a2c1d190 100644 --- a/drivers/staging/comedi/drivers/pcl816.c +++ b/drivers/staging/comedi/drivers/pcl816.c @@ -219,7 +219,7 @@ static int set_rtc_irq_bit(unsigned char bit); #endif static int pcl816_ai_cmdtest(struct comedi_device * dev, struct comedi_subdevice * s, - comedi_cmd * cmd); + struct comedi_cmd * cmd); static int pcl816_ai_cmd(struct comedi_device * dev, struct comedi_subdevice * s); /* @@ -443,7 +443,7 @@ static irqreturn_t interrupt_pcl816(int irq, void *d PT_REGS_ARG) ============================================================================== COMMAND MODE */ -static void pcl816_cmdtest_out(int e, comedi_cmd * cmd) +static void pcl816_cmdtest_out(int e, struct comedi_cmd * cmd) { rt_printk("pcl816 e=%d startsrc=%x scansrc=%x convsrc=%x\n", e, cmd->start_src, cmd->scan_begin_src, cmd->convert_src); @@ -459,7 +459,7 @@ static void pcl816_cmdtest_out(int e, comedi_cmd * cmd) ============================================================================== */ static int pcl816_ai_cmdtest(struct comedi_device * dev, struct comedi_subdevice * s, - comedi_cmd * cmd) + struct comedi_cmd * cmd) { int err = 0; int tmp, divisor1, divisor2; @@ -596,7 +596,7 @@ static int pcl816_ai_cmdtest(struct comedi_device * dev, struct comedi_subdevice static int pcl816_ai_cmd(struct comedi_device * dev, struct comedi_subdevice * s) { unsigned int divisor1 = 0, divisor2 = 0, dma_flags, bytes, dmairq; - comedi_cmd *cmd = &s->async->cmd; + struct comedi_cmd *cmd = &s->async->cmd; if (cmd->start_src != TRIG_NOW) return -EINVAL; |