Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354165
b: refs/heads/master
c: 9f89ce8
h: refs/heads/master
i:
  354163: b52786c
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 25, 2013
1 parent f21071c commit ca39020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: cfaa23de519b63ae4864a163fc9ba0a224c9f6b4
refs/heads/master: 9f89ce8c62175e1f5bad495241ea34f288b2596c
9 changes: 3 additions & 6 deletions trunk/drivers/staging/comedi/drivers/addi_apci_3501.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ static const struct addi_board apci3501_boardtypes[] = {
.i_IorangeBase1 = APCI3501_ADDRESS_RANGE,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5933,
.pr_AoRangelist = &range_apci3501_ao,
.ao_config = i_APCI3501_ConfigAnalogOutput,
.ao_write = i_APCI3501_WriteAnalogOutput,
},
};

Expand Down Expand Up @@ -217,9 +214,9 @@ static int apci3501_auto_attach(struct comedi_device *dev,
s->maxdata = 0x3fff;
s->len_chanlist =
devpriv->s_EeParameters.i_NbrAoChannel;
s->range_table = this_board->pr_AoRangelist;
s->insn_config = this_board->ao_config;
s->insn_write = this_board->ao_write;
s->range_table = &range_apci3501_ao;
s->insn_config = i_APCI3501_ConfigAnalogOutput;
s->insn_write = i_APCI3501_WriteAnalogOutput;
} else {
s->type = COMEDI_SUBD_UNUSED;
}
Expand Down

0 comments on commit ca39020

Please sign in to comment.