Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141572
b: refs/heads/master
c: 4f4123b
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent abc6821 commit 2a94b46
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: 72e7b74d505f901450e92d873dd3605a57435c1a
refs/heads/master: 4f4123ba6dba07ae20c7b6eb9ca5532c0cee8614
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/contec_pci_dio.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ MODULE_DEVICE_TABLE(pci, contec_pci_table);

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

typedef struct {
struct contec_private {
int data;

struct pci_dev *pci_dev;

} contec_private;
};

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

static int contec_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int contec_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -106,7 +106,7 @@ static int contec_attach(struct comedi_device * dev, struct comedi_devconfig * i

dev->board_name = thisboard->name;

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

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

0 comments on commit 2a94b46

Please sign in to comment.