From: Bill Pemberton Date: Tue, 17 Mar 2009 02:13:36 +0000 (-0400) Subject: Staging: comedi: Remove das16m1_board typedef X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65a457a1496f660a5469e4bb7edbe0195b9d887c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Staging: comedi: Remove das16m1_board typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/das16m1.c b/drivers/staging/comedi/drivers/das16m1.c index 039d8e549298..0e423e199ed6 100644 --- a/drivers/staging/comedi/drivers/das16m1.c +++ b/drivers/staging/comedi/drivers/das16m1.c @@ -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 @@ -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);