aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-19 17:59:12 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:16 -0700
commit43313b07343b81463c8edd99a8c315c6dc2d5c7d (patch)
treeee2b3a1ff4e53e48111d90374baa7c94b13e40a5 /drivers
parentb3be94eade6d07270e2a89599f99d42bbcfd6e84 (diff)
Staging: comedi: Remove ni_670x_board typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/ni_670x.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/ni_670x.c b/drivers/staging/comedi/drivers/ni_670x.c
index dbadb8e8e1e..d1312e073a6 100644
--- a/drivers/staging/comedi/drivers/ni_670x.c
+++ b/drivers/staging/comedi/drivers/ni_670x.c
@@ -60,13 +60,14 @@ Commands are not supported.
/* Board description*/
-typedef struct ni_670x_board_struct {
+struct ni_670x_board {
unsigned short dev_id;
const char *name;
unsigned short ao_chans;
unsigned short ao_bits;
-} ni_670x_board;
-static const ni_670x_board ni_670x_boards[] = {
+};
+
+static const struct ni_670x_board ni_670x_boards[] = {
{
dev_id: 0x2c90,
name: "PCI-6703",
@@ -96,7 +97,7 @@ static DEFINE_PCI_DEVICE_TABLE(ni_670x_pci_table) = {
MODULE_DEVICE_TABLE(pci, ni_670x_pci_table);
-#define thisboard ((ni_670x_board *)dev->board_ptr)
+#define thisboard ((struct ni_670x_board *)dev->board_ptr)
struct ni_670x_private {