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>
This commit is contained in:
parent
2696fb57e6
commit
2ce492f5cb
2 changed files with 2 additions and 4 deletions
|
@ -278,9 +278,8 @@ static const int ni_irqpin[] =
|
||||||
|
|
||||||
struct ni_private {
|
struct ni_private {
|
||||||
struct pnp_dev *isapnp_dev;
|
struct pnp_dev *isapnp_dev;
|
||||||
NI_PRIVATE_COMMON
|
NI_PRIVATE_COMMON
|
||||||
};
|
};
|
||||||
|
|
||||||
#define devpriv ((struct ni_private *)dev->private)
|
#define devpriv ((struct ni_private *)dev->private)
|
||||||
|
|
||||||
/* How we access registers */
|
/* How we access registers */
|
||||||
|
|
|
@ -1219,9 +1219,8 @@ static struct comedi_driver driver_pcimio = {
|
||||||
COMEDI_PCI_INITCLEANUP(driver_pcimio, ni_pci_table)
|
COMEDI_PCI_INITCLEANUP(driver_pcimio, ni_pci_table)
|
||||||
|
|
||||||
struct ni_private {
|
struct ni_private {
|
||||||
NI_PRIVATE_COMMON
|
NI_PRIVATE_COMMON
|
||||||
};
|
};
|
||||||
|
|
||||||
#define devpriv ((struct ni_private *)dev->private)
|
#define devpriv ((struct ni_private *)dev->private)
|
||||||
|
|
||||||
/* How we access registers */
|
/* How we access registers */
|
||||||
|
|
Loading…
Add table
Reference in a new issue