From 72e7b74d505f901450e92d873dd3605a57435c1a Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Mon, 16 Mar 2009 22:11:43 -0400 Subject: [PATCH] Staging: comedi: Remove contec_board typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/contec_pci_dio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/contec_pci_dio.c b/drivers/staging/comedi/drivers/contec_pci_dio.c index 46e13c6faf40..8c7017471a98 100644 --- a/drivers/staging/comedi/drivers/contec_pci_dio.c +++ b/drivers/staging/comedi/drivers/contec_pci_dio.c @@ -42,7 +42,7 @@ typedef enum contec_model { PIO1616L = 0, } contec_model; -typedef struct contec_board { +struct contec_board { const char *name; int model; int in_ports; @@ -50,8 +50,8 @@ typedef struct contec_board { int in_offs; int out_offs; int out_boffs; -} contec_board; -static const contec_board contec_boards[] = { +}; +static const struct contec_board contec_boards[] = { {"PIO1616L", PIO1616L, 16, 16, 0, 2, 10}, }; @@ -64,7 +64,7 @@ static DEFINE_PCI_DEVICE_TABLE(contec_pci_table) = { MODULE_DEVICE_TABLE(pci, contec_pci_table); -#define thisboard ((const contec_board *)dev->board_ptr) +#define thisboard ((const struct contec_board *)dev->board_ptr) typedef struct { int data; -- 2.39.5