Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324879
b: refs/heads/master
c: 6fc01d3
h: refs/heads/master
i:
  324877: ae47e1b
  324875: fc6e406
  324871: bf59392
  324863: 14aac42
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent 96e260f commit b9891e5
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: 1b39406b3ec9fb58e5577e7266562dd9a7816949
refs/heads/master: 6fc01d32a2b9e0ac2879e69b2d15caf4ad50c5f7
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/fl512.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int fl512_attach(struct comedi_device *dev, struct comedi_devconfig *it)
* this if the definitions of the supdevices, 2 have been defined
*/
/* Analog indput */
s = dev->subdevices + 0;
s = &dev->subdevices[0];
/* define subdevice as Analog In */
s->type = COMEDI_SUBD_AI;
/* you can read it from userspace */
Expand All @@ -156,7 +156,7 @@ static int fl512_attach(struct comedi_device *dev, struct comedi_devconfig *it)
printk(KERN_INFO "comedi: fl512: subdevice 0 initialized\n");

/* Analog output */
s = dev->subdevices + 1;
s = &dev->subdevices[1];
/* define subdevice as Analog OUT */
s->type = COMEDI_SUBD_AO;
/* you can write it from userspace */
Expand Down

0 comments on commit b9891e5

Please sign in to comment.