Staging: comedi: Remove ni_660x_board typedef
authorBill Pemberton <wfp5p@virginia.edu>
Thu, 19 Mar 2009 21:59:02 +0000 (17:59 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:16 +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_660x.c

index 44036069a548e0007438133a7dc67122d2287615..dabafa641e7e1050ba5dc4bae4f1a7ef039e4672 100644 (file)
@@ -379,13 +379,13 @@ static const unsigned GPCT_OFFSET[2] = { 0x0, 0x800 };    /* First chip is at base-
                                                           0x00, etc. */
 
 /* Board description*/
-typedef struct {
+struct ni_660x_board {
        unsigned short dev_id;  /* `lspci` will show you this */
        const char *name;
        unsigned n_chips;       /* total number of TIO chips */
-} ni_660x_board;
+};
 
-static const ni_660x_board ni_660x_boards[] = {
+static const struct ni_660x_board ni_660x_boards[] = {
        {
              dev_id:   0x2c60,
              name:     "PCI-6601",
@@ -439,7 +439,7 @@ static inline ni_660x_private *private(struct comedi_device * dev)
 }
 
 /* initialized in ni_660x_find_device() */
-static inline const ni_660x_board *board(struct comedi_device * dev)
+static inline const struct ni_660x_board *board(struct comedi_device * dev)
 {
        return dev->board_ptr;
 }