diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:05:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:56 -0700 |
commit | 71b5f4f11971dea972832ad63a994c7e5b45db6b (patch) | |
tree | a96c8f252e3109b42f9074a9a477c23ce9745ebb /drivers/staging/comedi/drivers/dt2814.c | |
parent | 790c55415aa31f4c732729f94d2c3a54f7d3bfc2 (diff) | |
download | kernel_samsung_smdk4412-71b5f4f11971dea972832ad63a994c7e5b45db6b.zip kernel_samsung_smdk4412-71b5f4f11971dea972832ad63a994c7e5b45db6b.tar.gz kernel_samsung_smdk4412-71b5f4f11971dea972832ad63a994c7e5b45db6b.tar.bz2 |
Staging: comedi: Remove comedi_device 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/dt2814.c')
-rw-r--r-- | drivers/staging/comedi/drivers/dt2814.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/comedi/drivers/dt2814.c b/drivers/staging/comedi/drivers/dt2814.c index bc96bf6..40430b5 100644 --- a/drivers/staging/comedi/drivers/dt2814.c +++ b/drivers/staging/comedi/drivers/dt2814.c @@ -59,8 +59,8 @@ addition, the clock does not seem to be very accurate. #define DT2814_ENB 0x10 #define DT2814_CHANMASK 0x0f -static int dt2814_attach(comedi_device * dev, comedi_devconfig * it); -static int dt2814_detach(comedi_device * dev); +static int dt2814_attach(struct comedi_device * dev, comedi_devconfig * it); +static int dt2814_detach(struct comedi_device * dev); static comedi_driver driver_dt2814 = { driver_name:"dt2814", module:THIS_MODULE, @@ -81,7 +81,7 @@ typedef struct { #define DT2814_TIMEOUT 10 #define DT2814_MAX_SPEED 100000 /* Arbitrary 10 khz limit */ -static int dt2814_ai_insn_read(comedi_device * dev, comedi_subdevice * s, +static int dt2814_ai_insn_read(struct comedi_device * dev, comedi_subdevice * s, comedi_insn * insn, unsigned int * data) { int n, i, hi, lo; @@ -132,7 +132,7 @@ static int dt2814_ns_to_timer(unsigned int *ns, unsigned int flags) return i; } -static int dt2814_ai_cmdtest(comedi_device * dev, comedi_subdevice * s, +static int dt2814_ai_cmdtest(struct comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) { int err = 0; @@ -224,7 +224,7 @@ static int dt2814_ai_cmdtest(comedi_device * dev, comedi_subdevice * s, return 0; } -static int dt2814_ai_cmd(comedi_device * dev, comedi_subdevice * s) +static int dt2814_ai_cmd(struct comedi_device * dev, comedi_subdevice * s) { comedi_cmd *cmd = &s->async->cmd; int chan; @@ -243,7 +243,7 @@ static int dt2814_ai_cmd(comedi_device * dev, comedi_subdevice * s) } -static int dt2814_attach(comedi_device * dev, comedi_devconfig * it) +static int dt2814_attach(struct comedi_device * dev, comedi_devconfig * it) { int i, irq; int ret; @@ -327,7 +327,7 @@ static int dt2814_attach(comedi_device * dev, comedi_devconfig * it) return 0; } -static int dt2814_detach(comedi_device * dev) +static int dt2814_detach(struct comedi_device * dev) { printk("comedi%d: dt2814: remove\n", dev->minor); @@ -344,7 +344,7 @@ static int dt2814_detach(comedi_device * dev) static irqreturn_t dt2814_interrupt(int irq, void *d PT_REGS_ARG) { int lo, hi; - comedi_device *dev = d; + struct comedi_device *dev = d; comedi_subdevice *s; int data; |