Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141686
b: refs/heads/master
c: 5079281
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent e92bf11 commit 9c347d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 251411cf05f3e7630f600a89f51fe9a82da967f8
refs/heads/master: 50792813130b94a64e34b89cd2cbfddeb85b7518
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/ni_660x.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ static const unsigned GPCT_OFFSET[2] = { 0x0, 0x800 }; /* First chip is at base-
0x00, etc. */

/* Board description*/
typedef struct {
struct ni_660x_board {
unsigned short dev_id; /* `lspci` will show you this */
const char *name;
unsigned n_chips; /* total number of TIO chips */
} ni_660x_board;
};

static const ni_660x_board ni_660x_boards[] = {
static const struct ni_660x_board ni_660x_boards[] = {
{
dev_id: 0x2c60,
name: "PCI-6601",
Expand Down Expand Up @@ -439,7 +439,7 @@ static inline ni_660x_private *private(struct comedi_device * dev)
}

/* initialized in ni_660x_find_device() */
static inline const ni_660x_board *board(struct comedi_device * dev)
static inline const struct ni_660x_board *board(struct comedi_device * dev)
{
return dev->board_ptr;
}
Expand Down

0 comments on commit 9c347d1

Please sign in to comment.