Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141575
b: refs/heads/master
c: 9da18ff
h: refs/heads/master
i:
  141573: 408eb85
  141571: abc6821
  141567: 314dd18
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 4fd5737 commit 4efb175
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 79c7b392b32fc3154911fe3d8c65274cda5d5728
refs/heads/master: 9da18ff8c352c8827abee8ebd8570d8bf2767ebb
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/daqboard2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,17 +306,17 @@ static struct comedi_driver driver_daqboard2000 = {
detach:daqboard2000_detach,
};

typedef struct {
struct daq200_boardtype {
const char *name;
int id;
} boardtype;
static const boardtype boardtypes[] = {
};
static const struct daq200_boardtype boardtypes[] = {
{"ids2", DAQBOARD2000_SUBSYSTEM_IDS2},
{"ids4", DAQBOARD2000_SUBSYSTEM_IDS4},
};

#define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
#define this_board ((const boardtype *)dev->board_ptr)
#define n_boardtypes (sizeof(boardtypes)/sizeof(struct daq200_boardtype))
#define this_board ((const struct daq200_boardtype *)dev->board_ptr)

static DEFINE_PCI_DEVICE_TABLE(daqboard2000_pci_table) = {
{0x1616, 0x0409, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
Expand Down

0 comments on commit 4efb175

Please sign in to comment.