Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141614
b: refs/heads/master
c: 16d38ca
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent c2a4199 commit 1711ab7
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 6555be0a1c25576be6270bb43f1bd444df7d86f8
refs/heads/master: 16d38ca3514bfcfad78f97dc136c955616303bf4
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/ni_6527.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ static struct comedi_driver driver_ni6527 = {
detach:ni6527_detach,
};

typedef struct {
struct ni6527_board {

int dev_id;
const char *name;
} ni6527_board;
static const ni6527_board ni6527_boards[] = {
};

static const struct ni6527_board ni6527_boards[] = {
{
dev_id: 0x2b20,
name: "pci-6527",
Expand All @@ -100,7 +102,7 @@ static const ni6527_board ni6527_boards[] = {
};

#define n_ni6527_boards (sizeof(ni6527_boards)/sizeof(ni6527_boards[0]))
#define this_board ((const ni6527_board *)dev->board_ptr)
#define this_board ((const struct ni6527_board *)dev->board_ptr)

static DEFINE_PCI_DEVICE_TABLE(ni6527_pci_table) = {
{PCI_VENDOR_ID_NATINST, 0x2b10, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
Expand Down

0 comments on commit 1711ab7

Please sign in to comment.