Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141520
b: refs/heads/master
c: 3d393c8
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent daef630 commit ec902ad
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: c1b31c44a38e2b5153193680e4bee4856b3307e1
refs/heads/master: 3d393c865b745a37a53081203b49278476a47a56
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/adl_pci6208.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ MODULE_DEVICE_TABLE(pci, pci6208_pci_table);
/* Will be initialized in pci6208_find device(). */
#define thisboard ((const struct pci6208_board *)dev->board_ptr)

typedef struct {
struct pci6208_private {
int data;
struct pci_dev *pci_dev; /* for a PCI device */
unsigned int ao_readback[2]; /* Used for AO readback */
} pci6208_private;
};

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

static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int pci6208_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -151,7 +151,7 @@ static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig *

printk("comedi%d: pci6208: ", dev->minor);

retval = alloc_private(dev, sizeof(pci6208_private));
retval = alloc_private(dev, sizeof(struct pci6208_private));
if (retval < 0)
return retval;

Expand Down

0 comments on commit ec902ad

Please sign in to comment.