diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:10:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:02 -0700 |
commit | 1657e325042ffc723182377a47d38ccc7319078f (patch) | |
tree | 2fe518f742ee5825b3e33b59a2ce17adb75fe5b5 | |
parent | c77e25898523395b56e1d120195e1ad2e3efa14d (diff) |
Staging: comedi: Remove cb_pcidda_board typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/cb_pcidda.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/cb_pcidda.c b/drivers/staging/comedi/drivers/cb_pcidda.c index 27f46a609e3..7918e322d7a 100644 --- a/drivers/staging/comedi/drivers/cb_pcidda.c +++ b/drivers/staging/comedi/drivers/cb_pcidda.c @@ -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 @@ -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, @@ -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, |