Staging: comedi: Finish removing ni_private typedef
authorFrank Mori Hess <fmhess@users.sourceforge.net>
Mon, 6 Apr 2009 19:13:04 +0000 (15:13 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:30 +0000 (11:00 -0700)
This fixes compilation of ni_mio_cs.c that was broken.

Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_atmio.c
drivers/staging/comedi/drivers/ni_pcimio.c

index 76def4b..dcd4487 100644 (file)
@@ -278,9 +278,8 @@ static const int ni_irqpin[] =
 
 struct ni_private {
        struct pnp_dev *isapnp_dev;
-         NI_PRIVATE_COMMON
+       NI_PRIVATE_COMMON
 };
-
 #define devpriv ((struct ni_private *)dev->private)
 
 /* How we access registers */
index eaa2bd2..a09622b 100644 (file)
@@ -1219,9 +1219,8 @@ static struct comedi_driver driver_pcimio = {
 COMEDI_PCI_INITCLEANUP(driver_pcimio, ni_pci_table)
 
 struct ni_private {
-NI_PRIVATE_COMMON
+       NI_PRIVATE_COMMON
 };
-
 #define devpriv ((struct ni_private *)dev->private)
 
 /* How we access registers */