Commit 1657e325 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Remove cb_pcidda_board typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c77e2589
...@@ -129,7 +129,7 @@ static const struct comedi_lrange cb_pcidda_ranges = { ...@@ -129,7 +129,7 @@ static const struct comedi_lrange cb_pcidda_ranges = {
* boards in this way is optional, and completely driver-dependent. * boards in this way is optional, and completely driver-dependent.
* Some drivers use arrays such as this, other do not. * Some drivers use arrays such as this, other do not.
*/ */
typedef struct cb_pcidda_board_struct { struct cb_pcidda_board {
const char *name; const char *name;
char status; // Driver status: char status; // Driver status:
// 0 - tested // 0 - tested
...@@ -139,8 +139,8 @@ typedef struct cb_pcidda_board_struct { ...@@ -139,8 +139,8 @@ typedef struct cb_pcidda_board_struct {
int ao_chans; int ao_chans;
int ao_bits; int ao_bits;
const struct comedi_lrange *ranges; const struct comedi_lrange *ranges;
} cb_pcidda_board; };
static const cb_pcidda_board cb_pcidda_boards[] = { static const struct cb_pcidda_board cb_pcidda_boards[] = {
{ {
name: "pci-dda02/12", name: "pci-dda02/12",
status: 1, status: 1,
...@@ -206,7 +206,7 @@ MODULE_DEVICE_TABLE(pci, cb_pcidda_pci_table); ...@@ -206,7 +206,7 @@ MODULE_DEVICE_TABLE(pci, cb_pcidda_pci_table);
/* /*
* Useful for shorthand access to the particular board structure * Useful for shorthand access to the particular board structure
*/ */
#define thisboard ((const cb_pcidda_board *)dev->board_ptr) #define thisboard ((const struct cb_pcidda_board *)dev->board_ptr)
/* this structure is for data unique to this hardware driver. If /* this structure is for data unique to this hardware driver. If
several hardware drivers keep similar information in this structure, several hardware drivers keep similar information in this structure,
......
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