aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-16 22:14:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:07 -0700
commitc7b8bb98a46e475ae848642cf60160fc7135cd52 (patch)
tree4b66465171d2795fee44ca26d75aed3c3cf8b7fa
parent0c5a144d730a68967dfb3f8163260a142e3282e3 (diff)
Staging: comedi: Remove das6402_private typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/comedi/drivers/das6402.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/das6402.c b/drivers/staging/comedi/drivers/das6402.c
index 37b47267149..2a8ca052510 100644
--- a/drivers/staging/comedi/drivers/das6402.c
+++ b/drivers/staging/comedi/drivers/das6402.c
@@ -109,12 +109,12 @@ static struct comedi_driver driver_das6402 = {
COMEDI_INITCLEANUP(driver_das6402);
-typedef struct {
+struct das6402_private {
int ai_bytes_to_read;
int das6402_ignoreirq;
-} das6402_private;
-#define devpriv ((das6402_private *)dev->private)
+};
+#define devpriv ((struct das6402_private *)dev->private)
static void das6402_ai_fifo_dregs(struct comedi_device * dev, struct comedi_subdevice * s);
@@ -331,7 +331,7 @@ static int das6402_attach(struct comedi_device * dev, struct comedi_devconfig *
}
dev->irq = irq;
- if ((ret = alloc_private(dev, sizeof(das6402_private))) < 0)
+ if ((ret = alloc_private(dev, sizeof(struct das6402_private))) < 0)
return ret;
if ((ret = alloc_subdevices(dev, 1)) < 0)