Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141682
b: refs/heads/master
c: f4c6b31
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent b3afd5c commit 18db3d0
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 97070b32a886d53b7343bcb28ed38d906fa95f50
refs/heads/master: f4c6b31958afecc08c8e83f3bc25161ce4442542
9 changes: 5 additions & 4 deletions trunk/drivers/staging/comedi/drivers/ni_6527.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ static DEFINE_PCI_DEVICE_TABLE(ni6527_pci_table) = {

MODULE_DEVICE_TABLE(pci, ni6527_pci_table);

typedef struct {
struct ni6527_private {
struct mite_struct *mite;
unsigned int filter_interval;
unsigned int filter_enable;
} ni6527_private;
#define devpriv ((ni6527_private *)dev->private)
};

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

static int ni6527_find_device(struct comedi_device * dev, int bus, int slot);

Expand Down Expand Up @@ -370,7 +371,7 @@ static int ni6527_attach(struct comedi_device * dev, struct comedi_devconfig * i

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

if ((ret = alloc_private(dev, sizeof(ni6527_private))) < 0)
if ((ret = alloc_private(dev, sizeof(struct ni6527_private))) < 0)
return ret;

ret = ni6527_find_device(dev, it->options[0], it->options[1]);
Expand Down

0 comments on commit 18db3d0

Please sign in to comment.