Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141542
b: refs/heads/master
c: 4651db9
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent f98d70e commit d4b86f8
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: 747537121d060557132ac82e7e37cae393e16dcc
refs/heads/master: 4651db97324b77972309fa22bc441dfbebb5b825
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/aio_aio12_8.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ static const struct aio12_8_boardtype board_types[] = {

#define thisboard ((const struct aio12_8_boardtype *) dev->board_ptr)

typedef struct {
struct aio12_8_private {
unsigned int ao_readback[4];
} aio12_8_private;
};

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

static int aio_aio12_8_ai_read(struct comedi_device * dev, struct comedi_subdevice * s,
struct comedi_insn * insn, unsigned int * data)
Expand Down Expand Up @@ -176,7 +176,7 @@ static int aio_aio12_8_attach(struct comedi_device * dev, struct comedi_devconfi

dev->iobase = iobase;

if (alloc_private(dev, sizeof(aio12_8_private)) < 0)
if (alloc_private(dev, sizeof(struct aio12_8_private)) < 0)
return -ENOMEM;

if (alloc_subdevices(dev, 3) < 0)
Expand Down

0 comments on commit d4b86f8

Please sign in to comment.