Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141559
b: refs/heads/master
c: bfae362
h: refs/heads/master
i:
  141557: b529bd7
  141555: 59dc71e
  141551: c45e377
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent e49ccdc commit 7fb86ee
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: 3281a63d0b1eecbb21848c3e123c2fc0cd1d4a80
refs/heads/master: bfae362ab6a9737e67a07ff82632a16181bb2d3c
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/cb_das16_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ static const struct das16cs_board das16cs_boards[] = {
#define n_boards (sizeof(das16cs_boards)/sizeof(das16cs_boards[0]))
#define thisboard ((const struct das16cs_board *)dev->board_ptr)

typedef struct {
struct das16cs_private {
struct pcmcia_device *link;

unsigned int ao_readback[2];
unsigned short status1;
unsigned short status2;
} das16cs_private;
#define devpriv ((das16cs_private *)dev->private)
};
#define devpriv ((struct das16cs_private *)dev->private)

static int das16cs_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int das16cs_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -201,7 +201,7 @@ static int das16cs_attach(struct comedi_device * dev, struct comedi_devconfig *

dev->board_name = thisboard->name;

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

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

0 comments on commit 7fb86ee

Please sign in to comment.