Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324865
b: refs/heads/master
c: 92cfef5
h: refs/heads/master
i:
  324863: 14aac42
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent b9066d9 commit 4f66b02
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: 2e3d3cf5c7d6c69d6940054645bc2d3d575ab916
refs/heads/master: 92cfef5d90148f1a91fba528971ed6ae39b1c14b
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/das6402.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static void das6402_setcounter(struct comedi_device *dev)
static irqreturn_t intr_handler(int irq, void *d)
{
struct comedi_device *dev = d;
struct comedi_subdevice *s = dev->subdevices;
struct comedi_subdevice *s = &dev->subdevices[0];

if (!dev->attached || devpriv->das6402_ignoreirq) {
dev_warn(dev->class_dev, "BUG: spurious interrupt\n");
Expand Down Expand Up @@ -312,7 +312,7 @@ static int das6402_attach(struct comedi_device *dev,
return ret;

/* ai subdevice */
s = dev->subdevices + 0;
s = &dev->subdevices[0];
s->type = COMEDI_SUBD_AI;
s->subdev_flags = SDF_READABLE | SDF_GROUND;
s->n_chan = 8;
Expand Down

0 comments on commit 4f66b02

Please sign in to comment.