Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325193
b: refs/heads/master
c: abdeac3
h: refs/heads/master
i:
  325191: 65392f3
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent 360ac0f commit b08207d
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: d4fb0f256028f16de8e33da7007fcf711c817929
refs/heads/master: abdeac3fd65534dd9b8f46a0fa3ce5c9d545a8f7
4 changes: 1 addition & 3 deletions trunk/drivers/staging/comedi/drivers/icp_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ struct boardtype {
int iorange; /* I/O range len */
char have_irq; /* 1=card support IRQ */
char cardtype; /* 0=ICP Multi */
const struct comedi_lrange *rangelist_ai; /* rangelist for A/D */
const char *rangecode; /* range codes for programming */
};

Expand Down Expand Up @@ -804,7 +803,7 @@ static int icp_multi_attach(struct comedi_device *dev,
s->n_chan = 16;
s->maxdata = 0x0fff;
s->len_chanlist = 16;
s->range_table = this_board->rangelist_ai;
s->range_table = &range_analog;
s->insn_read = icp_multi_insn_read_ai;
subdev++;

Expand Down Expand Up @@ -880,7 +879,6 @@ static const struct boardtype boardtypes[] = {
.iorange = IORANGE_ICP_MULTI,
.have_irq = 1,
.cardtype = TYPE_ICP_MULTI,
.rangelist_ai = &range_analog,
.rangecode = range_codes_analog,
},
};
Expand Down

0 comments on commit b08207d

Please sign in to comment.