Skip to content

Commit

Permalink
Staging: comedi: Remove contec_board 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 0ff297c commit 72e7b74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/comedi/drivers/contec_pci_dio.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ typedef enum contec_model {
PIO1616L = 0,
} contec_model;

typedef struct contec_board {
struct contec_board {
const char *name;
int model;
int in_ports;
int out_ports;
int in_offs;
int out_offs;
int out_boffs;
} contec_board;
static const contec_board contec_boards[] = {
};
static const struct contec_board contec_boards[] = {
{"PIO1616L", PIO1616L, 16, 16, 0, 2, 10},
};

Expand All @@ -64,7 +64,7 @@ static DEFINE_PCI_DEVICE_TABLE(contec_pci_table) = {

MODULE_DEVICE_TABLE(pci, contec_pci_table);

#define thisboard ((const contec_board *)dev->board_ptr)
#define thisboard ((const struct contec_board *)dev->board_ptr)

typedef struct {
int data;
Expand Down

0 comments on commit 72e7b74

Please sign in to comment.