Staging: comedi: Remove ni_private typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
344d23e931
commit
c7ef229855
|
@ -173,11 +173,13 @@ static const ni_board ni_boards[] = {
|
||||||
|
|
||||||
#define NI_E_IRQ_FLAGS IRQF_SHARED
|
#define NI_E_IRQ_FLAGS IRQF_SHARED
|
||||||
|
|
||||||
typedef struct {
|
struct ni_private {
|
||||||
|
|
||||||
struct pcmcia_device *link;
|
struct pcmcia_device *link;
|
||||||
|
|
||||||
NI_PRIVATE_COMMON} ni_private;
|
NI_PRIVATE_COMMON};
|
||||||
#define devpriv ((ni_private *)dev->private)
|
|
||||||
|
#define devpriv ((struct ni_private *)dev->private)
|
||||||
|
|
||||||
/* How we access registers */
|
/* How we access registers */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue