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 76def4b9e8fbee56870881d7b2449e4b2191b651..dcd44874aaf353d798aacb4225c20af82d1ca714 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 eaa2bd2620b89102415aa7928a4a49d7c6479f21..a09622b6023880407eddc96601f011606bfc2521 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 */