aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/amplc_pci230.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-16 22:10:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:02 -0700
commitb3e8fa97c454246be2bc6f4ddf20951c5b74bc22 (patch)
treee1813828ca3857fdba98bde66fc97ca6131b1f31 /drivers/staging/comedi/drivers/amplc_pci230.c
parentStaging: comedi: Remove pci224_private typedef (diff)
downloadlinux-dev-b3e8fa97c454246be2bc6f4ddf20951c5b74bc22.tar.xz
linux-dev-b3e8fa97c454246be2bc6f4ddf20951c5b74bc22.zip
Staging: comedi: Remove pci230_board typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/amplc_pci230.c')
-rw-r--r--drivers/staging/comedi/drivers/amplc_pci230.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging/comedi/drivers/amplc_pci230.c
index a534763a90f9..0c9e5737e100 100644
--- a/drivers/staging/comedi/drivers/amplc_pci230.c
+++ b/drivers/staging/comedi/drivers/amplc_pci230.c
@@ -443,7 +443,7 @@ enum {
* Board descriptions for the two boards supported.
*/
-typedef struct pci230_board_struct {
+struct pci230_board {
const char *name;
unsigned short id;
int ai_chans;
@@ -452,8 +452,8 @@ typedef struct pci230_board_struct {
int ao_bits;
int have_dio;
unsigned int min_hwver; /* Minimum hardware version supported. */
-} pci230_board;
-static const pci230_board pci230_boards[] = {
+};
+static const struct pci230_board pci230_boards[] = {
{
name: "pci230+",
id: PCI_DEVICE_ID_PCI230,
@@ -511,7 +511,7 @@ MODULE_DEVICE_TABLE(pci, pci230_pci_table);
* Useful for shorthand access to the particular board structure
*/
#define n_pci230_boards (sizeof(pci230_boards)/sizeof(pci230_boards[0]))
-#define thisboard ((const pci230_board *)dev->board_ptr)
+#define thisboard ((const struct pci230_board *)dev->board_ptr)
/* this structure is for data unique to this hardware driver. If
several hardware drivers keep similar information in this structure,