Skip to content

Commit

Permalink
Staging: comedi: Remove das16m1_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 6708079 commit 65a457a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/comedi/drivers/das16m1.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ static unsigned int das16m1_set_pacer(struct comedi_device * dev, unsigned int n

static int das16m1_irq_bits(unsigned int irq);

typedef struct das16m1_board_struct {
struct das16m1_board {
const char *name;
unsigned int ai_speed;
} das16m1_board;
};

static const das16m1_board das16m1_boards[] = {
static const struct das16m1_board das16m1_boards[] = {
{
name: "cio-das16/m1", // CIO-DAS16_M1.pdf
ai_speed:1000, // 1MHz max speed
Expand Down Expand Up @@ -191,7 +191,7 @@ struct das16m1_private_struct {
unsigned int divisor2; // divides master clock to obtain conversion speed
};
#define devpriv ((struct das16m1_private_struct *)(dev->private))
#define thisboard ((const das16m1_board *)(dev->board_ptr))
#define thisboard ((const struct das16m1_board *)(dev->board_ptr))

COMEDI_INITCLEANUP(driver_das16m1);

Expand Down

0 comments on commit 65a457a

Please sign in to comment.