Commit 2ce492f5 authored by Frank Mori Hess's avatar Frank Mori Hess Committed by Greg Kroah-Hartman

Staging: comedi: Finish removing ni_private typedef

This fixes compilation of ni_mio_cs.c that was broken.
Signed-off-by: default avatarFrank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2696fb57
......@@ -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 */
......
......@@ -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 */
......
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