Commit 55d99639 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove aio_iiro_16_private typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 28fa7754
...@@ -59,13 +59,13 @@ static const struct aio_iiro_16_board aio_iiro_16_boards[] = { ...@@ -59,13 +59,13 @@ static const struct aio_iiro_16_board aio_iiro_16_boards[] = {
#define thisboard ((const struct aio_iiro_16_board *) dev->board_ptr) #define thisboard ((const struct aio_iiro_16_board *) dev->board_ptr)
typedef struct { struct aio_iiro_16_private {
int data; int data;
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
unsigned int ao_readback[2]; unsigned int ao_readback[2];
} aio_iiro_16_private; };
#define devpriv ((aio_iiro_16_private *) dev->private) #define devpriv ((struct aio_iiro_16_private *) dev->private)
static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfig * it); static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfig * it);
...@@ -105,7 +105,7 @@ static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfi ...@@ -105,7 +105,7 @@ static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfi
dev->iobase = iobase; dev->iobase = iobase;
if (alloc_private(dev, sizeof(aio_iiro_16_private)) < 0) if (alloc_private(dev, sizeof(struct aio_iiro_16_private)) < 0)
return -ENOMEM; return -ENOMEM;
if (alloc_subdevices(dev, 2) < 0) if (alloc_subdevices(dev, 2) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment