Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325290
b: refs/heads/master
c: 2927eda
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 5dbb076 commit 2b71bf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 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: 7e661293119cff3c726c2d1d5f646ae9a1060b10
refs/heads/master: 2927eda60977fde11a106cd9590cd710cd41884a
18 changes: 7 additions & 11 deletions trunk/drivers/staging/comedi/drivers/ni_65xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,7 @@ static inline unsigned Filter_Enable(unsigned port)
#define OverflowIntEnable 0x02
#define EdgeIntEnable 0x01

static int ni_65xx_attach(struct comedi_device *dev,
struct comedi_devconfig *it);
static void ni_65xx_detach(struct comedi_device *dev);
static struct comedi_driver ni_65xx_driver = {
.driver_name = "ni_65xx",
.module = THIS_MODULE,
.attach = ni_65xx_attach,
.detach = ni_65xx_detach,
};

struct ni_65xx_board {

int dev_id;
const char *name;
unsigned num_dio_ports;
Expand Down Expand Up @@ -822,6 +811,13 @@ static int ni_65xx_find_device(struct comedi_device *dev, int bus, int slot)
return -EIO;
}

static struct comedi_driver ni_65xx_driver = {
.driver_name = "ni_65xx",
.module = THIS_MODULE,
.attach = ni_65xx_attach,
.detach = ni_65xx_detach,
};

static int __devinit ni_65xx_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
Expand Down

0 comments on commit 2b71bf6

Please sign in to comment.