Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141664
b: refs/heads/master
c: 938f185
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 34b72d8 commit 617ee73
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: b90c76fd78a101835eb1cc17271d008ed51688d3
refs/heads/master: 938f185d4eea489ad802554e2faef9c99e377aa5
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/das800.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ static const struct das800_board das800_boards[] = {
*/
#define thisboard ((const struct das800_board *)dev->board_ptr)

typedef struct {
struct das800_private {
volatile unsigned int count; /* number of data points left to be taken */
volatile int forever; /* flag indicating whether we should take data forever */
unsigned int divisor1; /* value to load into board's counter 1 for timed conversions */
unsigned int divisor2; /* value to load into board's counter 2 for timed conversions */
volatile int do_bits; /* digital output bits */
} das800_private;
};

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

static int das800_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int das800_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -456,7 +456,7 @@ static int das800_attach(struct comedi_device * dev, struct comedi_devconfig * i
printk("\n");

/* allocate and initialize dev->private */
if (alloc_private(dev, sizeof(das800_private)) < 0)
if (alloc_private(dev, sizeof(struct das800_private)) < 0)
return -ENOMEM;

if (iobase == 0) {
Expand Down

0 comments on commit 617ee73

Please sign in to comment.