Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141613
b: refs/heads/master
c: 6555be0
h: refs/heads/master
i:
  141611: 6b50c68
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 381303c commit c2a4199
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: 16450130a9f7006c91c9f49d725b9029fe711240
refs/heads/master: 6555be0a1c25576be6270bb43f1bd444df7d86f8
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/mpc8260cpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ It is apparently missing some code.

extern unsigned long mpc8260_dio_reserved[4];

typedef struct {
struct mpc8260cpm_private {

int data;

} mpc8260cpm_private;
#define devpriv ((mpc8260cpm_private *)dev->private)
};

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

static int mpc8260cpm_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int mpc8260cpm_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -71,7 +73,7 @@ static int mpc8260cpm_attach(struct comedi_device * dev, struct comedi_devconfig

dev->board_name = thisboard->name;

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

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

0 comments on commit c2a4199

Please sign in to comment.