diff options
author | Frank Mori Hess <fmhess@users.sourceforge.net> | 2009-04-06 15:13:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:30 -0700 |
commit | 2ce492f5cb8ccb404afff3d29dd6f85dad9bfb01 (patch) | |
tree | 3e513fb05504ab313c095960c1bb4dfc3d029280 /drivers/staging/comedi | |
parent | 2696fb57e6af653dd8b4df41b16754579f42fc78 (diff) |
Staging: comedi: Finish removing ni_private typedef
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>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/ni_atmio.c | 3 | ||||
-rw-r--r-- | drivers/staging/comedi/drivers/ni_pcimio.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index 76def4b9e8f..dcd44874aaf 100644 --- a/drivers/staging/comedi/drivers/ni_atmio.c +++ b/drivers/staging/comedi/drivers/ni_atmio.c @@ -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 */ diff --git a/drivers/staging/comedi/drivers/ni_pcimio.c b/drivers/staging/comedi/drivers/ni_pcimio.c index eaa2bd2620b..a09622b6023 100644 --- a/drivers/staging/comedi/drivers/ni_pcimio.c +++ b/drivers/staging/comedi/drivers/ni_pcimio.c @@ -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 */ |