Staging: comedi: Remove ni_private typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:16:34 +0000 (22:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:09 +0000 (14:54 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_mio_cs.c

index 9822f5e..d6357c2 100644 (file)
@@ -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 */