Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337741
b: refs/heads/master
c: 891e62c
h: refs/heads/master
i:
  337739: 1527b84
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 783e1f9 commit 78d56e8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 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: 92cba8f3b42e1cb8211b64e91618102ecc8f0a6d
refs/heads/master: 891e62c33d9cdbcdb8adfaddd111e91a39d0f5fe
7 changes: 4 additions & 3 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1032.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,10 @@ static int apci1032_di_insn_bits(struct comedi_device *dev,
return insn->n;
}

static int apci1032_attach_pci(struct comedi_device *dev,
struct pci_dev *pcidev)
static int __devinit apci1032_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
struct apci1032_private *devpriv;
struct comedi_subdevice *s;
int ret;
Expand Down Expand Up @@ -325,7 +326,7 @@ static void apci1032_detach(struct comedi_device *dev)
static struct comedi_driver apci1032_driver = {
.driver_name = "addi_apci_1032",
.module = THIS_MODULE,
.attach_pci = apci1032_attach_pci,
.auto_attach = apci1032_auto_attach,
.detach = apci1032_detach,
};

Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1710.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ static const void *apci1710_find_boardinfo(struct comedi_device *dev,
return NULL;
}

static int apci1710_attach_pci(struct comedi_device *dev,
struct pci_dev *pcidev)
static int __devinit apci1710_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
const struct addi_board *this_board;
struct addi_private *devpriv;
struct comedi_subdevice *s;
Expand Down Expand Up @@ -117,7 +118,7 @@ static void apci1710_detach(struct comedi_device *dev)
static struct comedi_driver apci1710_driver = {
.driver_name = "addi_apci_1710",
.module = THIS_MODULE,
.attach_pci = apci1710_attach_pci,
.auto_attach = apci1710_auto_attach,
.detach = apci1710_detach,
};

Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/staging/comedi/drivers/addi_apci_3120.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ static const void *apci3120_find_boardinfo(struct comedi_device *dev,
return NULL;
}

static int apci3120_attach_pci(struct comedi_device *dev,
struct pci_dev *pcidev)
static int __devinit apci3120_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
const struct addi_board *this_board;
struct addi_private *devpriv;
struct comedi_subdevice *s;
Expand Down Expand Up @@ -240,7 +241,7 @@ static void apci3120_detach(struct comedi_device *dev)
static struct comedi_driver apci3120_driver = {
.driver_name = "addi_apci_3120",
.module = THIS_MODULE,
.attach_pci = apci3120_attach_pci,
.auto_attach = apci3120_auto_attach,
.detach = apci3120_detach,
};

Expand Down

0 comments on commit 78d56e8

Please sign in to comment.