Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141604
b: refs/heads/master
c: ca6f10c
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 57dfea4 commit fe7825b
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 7f435c068c488527842461b9872c0484a3c9ae61
refs/heads/master: ca6f10ca8630d709e0d291fb9601f8c8d81c19a0
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/dt2814.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ COMEDI_INITCLEANUP(driver_dt2814);

static irqreturn_t dt2814_interrupt(int irq, void *dev PT_REGS_ARG);

typedef struct {
struct dt2814_private {

int ntrig;
int curadchan;
} dt2814_private;
#define devpriv ((dt2814_private *)dev->private)
};

#define devpriv ((struct dt2814_private *)dev->private)

#define DT2814_TIMEOUT 10
#define DT2814_MAX_SPEED 100000 /* Arbitrary 10 khz limit */
Expand Down Expand Up @@ -309,7 +311,7 @@ static int dt2814_attach(struct comedi_device * dev, struct comedi_devconfig * i

if ((ret = alloc_subdevices(dev, 1)) < 0)
return ret;
if ((ret = alloc_private(dev, sizeof(dt2814_private))) < 0)
if ((ret = alloc_private(dev, sizeof(struct dt2814_private))) < 0)
return ret;

s = dev->subdevices + 0;
Expand Down

0 comments on commit fe7825b

Please sign in to comment.