Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337613
b: refs/heads/master
c: 1ba296b
h: refs/heads/master
i:
  337611: 8a4ba9c
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 2, 2012
1 parent 13c6c6f commit 88bb338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 65fe75a627dee4fcf23c8872213e88a273d735ec
refs/heads/master: 1ba296b95613d279e9bb6ec93420a42159074782
4 changes: 1 addition & 3 deletions trunk/drivers/staging/comedi/drivers/addi_apci_3120.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ static const struct addi_board apci3120_boardtypes[] = {
.i_NbrAoChannel = 8,
.i_AiMaxdata = 0xffff,
.i_AoMaxdata = 0x3fff,
.pr_AiRangelist = &range_apci3120_ai,
.pr_AoRangelist = &range_apci3120_ao,
.i_NbrDiChannel = 4,
.i_NbrDoChannel = 4,
Expand All @@ -39,7 +38,6 @@ static const struct addi_board apci3120_boardtypes[] = {
.i_NbrAiChannelDiff = 8,
.i_AiChannelList = 16,
.i_AiMaxdata = 0xfff,
.pr_AiRangelist = &range_apci3120_ai,
.i_NbrDiChannel = 4,
.i_NbrDoChannel = 4,
.i_DoMaxdata = 0x0f,
Expand Down Expand Up @@ -161,7 +159,7 @@ static int apci3120_attach_pci(struct comedi_device *dev,
}
s->maxdata = this_board->i_AiMaxdata;
s->len_chanlist = this_board->i_AiChannelList;
s->range_table = this_board->pr_AiRangelist;
s->range_table = &range_apci3120_ai;

/* Set the initialisation flag */
devpriv->b_AiInitialisation = 1;
Expand Down

0 comments on commit 88bb338

Please sign in to comment.