Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324830
b: refs/heads/master
c: 2bac8ab
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent dd3909e commit 71ce1ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 630b713b2730dfede5f7ebe3273fae82d8c51bc6
refs/heads/master: 2bac8ab3c348856d701ce7fbbd87622ed400bc65
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/adl_pci7x3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static int adl_pci7x3x_attach_pci(struct comedi_device *dev,
if (board->di_nchan) {
nchan = min(board->di_nchan, 32);

s = dev->subdevices + subdev;
s = &dev->subdevices[subdev];
/* Isolated digital inputs 0 to 15/31 */
s->type = COMEDI_SUBD_DI;
s->subdev_flags = SDF_READABLE;
Expand All @@ -226,7 +226,7 @@ static int adl_pci7x3x_attach_pci(struct comedi_device *dev,

nchan = board->di_nchan - nchan;
if (nchan) {
s = dev->subdevices + subdev;
s = &dev->subdevices[subdev];
/* Isolated digital inputs 32 to 63 */
s->type = COMEDI_SUBD_DI;
s->subdev_flags = SDF_READABLE;
Expand All @@ -244,7 +244,7 @@ static int adl_pci7x3x_attach_pci(struct comedi_device *dev,
if (board->do_nchan) {
nchan = min(board->do_nchan, 32);

s = dev->subdevices + subdev;
s = &dev->subdevices[subdev];
/* Isolated digital outputs 0 to 15/31 */
s->type = COMEDI_SUBD_DO;
s->subdev_flags = SDF_WRITABLE;
Expand All @@ -259,7 +259,7 @@ static int adl_pci7x3x_attach_pci(struct comedi_device *dev,

nchan = board->do_nchan - nchan;
if (nchan) {
s = dev->subdevices + subdev;
s = &dev->subdevices[subdev];
/* Isolated digital outputs 32 to 63 */
s->type = COMEDI_SUBD_DO;
s->subdev_flags = SDF_WRITABLE;
Expand Down

0 comments on commit 71ce1ba

Please sign in to comment.