Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337486
b: refs/heads/master
c: 5df3954
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Oct 31, 2012
1 parent acac1e3 commit 35c7752
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 01e14a4c586ffc6e1c7b748eb8354806ccfec813
refs/heads/master: 5df395404b43cfd111c36822b2e691619a408024
6 changes: 4 additions & 2 deletions trunk/drivers/staging/comedi/drivers/rtd520.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,8 +1284,10 @@ static const void *rtd_find_boardinfo(struct comedi_device *dev,
return NULL;
}

static int rtd_attach_pci(struct comedi_device *dev, struct pci_dev *pcidev)
static int __devinit rtd_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
const struct rtdBoard *thisboard;
struct rtdPrivate *devpriv;
struct comedi_subdevice *s;
Expand Down Expand Up @@ -1420,7 +1422,7 @@ static void rtd_detach(struct comedi_device *dev)
static struct comedi_driver rtd520_driver = {
.driver_name = "rtd520",
.module = THIS_MODULE,
.attach_pci = rtd_attach_pci,
.auto_attach = rtd_auto_attach,
.detach = rtd_detach,
};

Expand Down

0 comments on commit 35c7752

Please sign in to comment.