Skip to content

Commit

Permalink
Staging: comedi: Remove cb_pcidda_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 c77e258 commit 1657e32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/comedi/drivers/cb_pcidda.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static const struct comedi_lrange cb_pcidda_ranges = {
* boards in this way is optional, and completely driver-dependent.
* Some drivers use arrays such as this, other do not.
*/
typedef struct cb_pcidda_board_struct {
struct cb_pcidda_board {
const char *name;
char status; // Driver status:
// 0 - tested
Expand All @@ -139,8 +139,8 @@ typedef struct cb_pcidda_board_struct {
int ao_chans;
int ao_bits;
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",
status: 1,
Expand Down Expand Up @@ -206,7 +206,7 @@ MODULE_DEVICE_TABLE(pci, cb_pcidda_pci_table);
/*
* 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
several hardware drivers keep similar information in this structure,
Expand Down

0 comments on commit 1657e32

Please sign in to comment.