Staging: comedi: Remove das16cs_board typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:10:28 +0000 (22:10 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:02 +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/cb_das16_cs.c

index 487ae3bd21d58878a2f56281d949be4e13baee31..12f0085b189495a77c09b9b37e0997f4aa04b3ad 100644 (file)
@@ -54,12 +54,12 @@ Status: experimental
 #define DAS16CS_CTR_CONTROL            14
 #define DAS16CS_DIO                    16
 
-typedef struct das16cs_board_struct {
+struct das16cs_board {
        const char *name;
        int device_id;
        int n_ao_chans;
-} das16cs_board;
-static const das16cs_board das16cs_boards[] = {
+};
+static const struct das16cs_board das16cs_boards[] = {
        {
              device_id:0x0000,/* unknown */
              name:     "PC-CARD DAS16/16",
@@ -78,7 +78,7 @@ static const das16cs_board das16cs_boards[] = {
 };
 
 #define n_boards (sizeof(das16cs_boards)/sizeof(das16cs_boards[0]))
-#define thisboard ((const das16cs_board *)dev->board_ptr)
+#define thisboard ((const struct das16cs_board *)dev->board_ptr)
 
 typedef struct {
        struct pcmcia_device *link;
@@ -146,7 +146,7 @@ static int get_prodid(struct comedi_device * dev, struct pcmcia_device *link)
        return prodid;
 }
 
-static const das16cs_board *das16cs_probe(struct comedi_device * dev,
+static const struct das16cs_board *das16cs_probe(struct comedi_device * dev,
        struct pcmcia_device *link)
 {
        int id;