Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324882
b: refs/heads/master
c: 35fcaeb
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent 8755750 commit 0651673
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: 27f7f1002faae4034f86dd9d28ff8ecb4b8926ed
refs/heads/master: 35fcaeb87d14c2385dac6ef1520e136f288d1bd6
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/ii_pci20kc.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static int pci20xxx_attach(struct comedi_device *dev,
dev->minor, devpriv->ioaddr);

for (i = 0; i < PCI20000_MODULES; i++) {
s = dev->subdevices + i;
s = &dev->subdevices[i];
id = readb(devpriv->ioaddr + (i + 1) * PCI20000_OFFSET);
s->private = devpriv->subdev_private + i;
sdp = s->private;
Expand Down Expand Up @@ -259,7 +259,7 @@ static int pci20xxx_attach(struct comedi_device *dev,
}

/* initialize struct pci20xxx_private */
pci20xxx_dio_init(dev, dev->subdevices + PCI20000_MODULES);
pci20xxx_dio_init(dev, &dev->subdevices[PCI20000_MODULES]);

return 1;
}
Expand Down

0 comments on commit 0651673

Please sign in to comment.