Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141523
b: refs/heads/master
c: 07b666b
h: refs/heads/master
i:
  141521: 7e3879c
  141519: daef630
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 7238f03 commit bb9ef03
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: ddc3dbf4dfd38b309c4c26b2fa91e3784457a0f8
refs/heads/master: 07b666b72b122958ec125715bd4b07557c6cb889
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/adl_pci8164.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ static DEFINE_PCI_DEVICE_TABLE(adl_pci8164_pci_table) = {

MODULE_DEVICE_TABLE(pci, adl_pci8164_pci_table);

typedef struct {
struct adl_pci8164_private {
int data;
struct pci_dev *pci_dev;
} adl_pci8164_private;
};

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

static int adl_pci8164_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int adl_pci8164_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -116,7 +116,7 @@ static int adl_pci8164_attach(struct comedi_device * dev, struct comedi_devconfi
bus = it->options[0];
slot = it->options[1];

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

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

0 comments on commit bb9ef03

Please sign in to comment.