Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141545
b: refs/heads/master
c: 55d9963
h: refs/heads/master
i:
  141543: eb4b777
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 983297b commit dca7594
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: 28fa7754e5a3fe9f696643808862d37b5ffc3083
refs/heads/master: 55d996391fa73df06e33609f0d6f82de775d1045
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/aio_iiro_16.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ static const struct aio_iiro_16_board aio_iiro_16_boards[] = {

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

typedef struct {
struct aio_iiro_16_private {
int data;
struct pci_dev *pci_dev;
unsigned int ao_readback[2];
} aio_iiro_16_private;
};

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

static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfig * it);

Expand Down Expand Up @@ -105,7 +105,7 @@ static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfi

dev->iobase = iobase;

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

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

0 comments on commit dca7594

Please sign in to comment.