Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324822
b: refs/heads/master
c: 5101b4d
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent 3cb8f74 commit a09f57e
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: 5e4c58ce65103a820c4ca4b4b0bd8609e638cf75
refs/heads/master: 5101b4d1877396d9b1ce5a6a6e91bb302289bf89
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/8255.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static int dev_8255_attach(struct comedi_device *dev,
return ret;

for (i = 0; i < dev->n_subdevices; i++) {
s = dev->subdevices + i;
s = &dev->subdevices[i];
iobase = it->options[i];

if (!request_region(iobase, _8255_SIZE, "8255")) {
Expand All @@ -429,7 +429,7 @@ static void dev_8255_detach(struct comedi_device *dev)
int i;

for (i = 0; i < dev->n_subdevices; i++) {
s = dev->subdevices + i;
s = &dev->subdevices[i];
if (s->type != COMEDI_SUBD_UNUSED) {
spriv = s->private;
release_region(spriv->iobase, _8255_SIZE);
Expand Down

0 comments on commit a09f57e

Please sign in to comment.