From 55d996391fa73df06e33609f0d6f82de775d1045 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Mon, 16 Mar 2009 22:09:18 -0400 Subject: [PATCH] Staging: comedi: Remove aio_iiro_16_private typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/aio_iiro_16.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/aio_iiro_16.c b/drivers/staging/comedi/drivers/aio_iiro_16.c index c14069a5e075..9160fdf0ca37 100644 --- a/drivers/staging/comedi/drivers/aio_iiro_16.c +++ b/drivers/staging/comedi/drivers/aio_iiro_16.c @@ -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) -typedef struct { +struct aio_iiro_16_private { int data; struct pci_dev *pci_dev; 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); @@ -105,7 +105,7 @@ static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfi 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; if (alloc_subdevices(dev, 2) < 0)