Commit 72e7b74d authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove contec_board typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0ff297c4
...@@ -42,7 +42,7 @@ typedef enum contec_model { ...@@ -42,7 +42,7 @@ typedef enum contec_model {
PIO1616L = 0, PIO1616L = 0,
} contec_model; } contec_model;
typedef struct contec_board { struct contec_board {
const char *name; const char *name;
int model; int model;
int in_ports; int in_ports;
...@@ -50,8 +50,8 @@ typedef struct contec_board { ...@@ -50,8 +50,8 @@ typedef struct contec_board {
int in_offs; int in_offs;
int out_offs; int out_offs;
int out_boffs; 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}, {"PIO1616L", PIO1616L, 16, 16, 0, 2, 10},
}; };
...@@ -64,7 +64,7 @@ static DEFINE_PCI_DEVICE_TABLE(contec_pci_table) = { ...@@ -64,7 +64,7 @@ static DEFINE_PCI_DEVICE_TABLE(contec_pci_table) = {
MODULE_DEVICE_TABLE(pci, 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 { typedef struct {
int data; int data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment