Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324905
b: refs/heads/master
c: 7d78055
h: refs/heads/master
i:
  324903: 5421eef
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent 70a7d5d commit f9ab41a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d533ef070d0af7816616499fc4bf0eb36dfd63a6
refs/heads/master: 7d780555c03e052756b97ff6625dceb03e8575d8
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/pcl725.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int pcl725_attach(struct comedi_device *dev, struct comedi_devconfig *it)
if (ret)
return ret;

s = dev->subdevices + 0;
s = &dev->subdevices[0];
/* do */
s->type = COMEDI_SUBD_DO;
s->subdev_flags = SDF_WRITABLE;
Expand All @@ -71,7 +71,7 @@ static int pcl725_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->insn_bits = pcl725_do_insn;
s->range_table = &range_digital;

s = dev->subdevices + 1;
s = &dev->subdevices[1];
/* di */
s->type = COMEDI_SUBD_DI;
s->subdev_flags = SDF_READABLE;
Expand Down

0 comments on commit f9ab41a

Please sign in to comment.