Skip to content

Commit

Permalink
Staging: comedi: Remove ni_private typedef
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 344d23e commit c7ef229
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,13 @@ static const ni_board ni_boards[] = {

#define NI_E_IRQ_FLAGS IRQF_SHARED

typedef struct {
struct ni_private {

struct pcmcia_device *link;

NI_PRIVATE_COMMON} ni_private;
#define devpriv ((ni_private *)dev->private)
NI_PRIVATE_COMMON};

#define devpriv ((struct ni_private *)dev->private)

/* How we access registers */

Expand Down

0 comments on commit c7ef229

Please sign in to comment.