Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337359
b: refs/heads/master
c: 156096a
h: refs/heads/master
i:
  337357: 7fa4a2f
  337355: 73fb55b
  337351: f37112f
  337343: e2136d2
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Oct 29, 2012
1 parent 9341f7d commit 5eefb62
Show file tree
Hide file tree
Showing 2 changed files with 10 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: f9c3e4e7a797ec7c0de3ad6372ca332692cd0115
refs/heads/master: 156096a0398fd5c42beeed87ad9b79134d890d22
18 changes: 9 additions & 9 deletions trunk/drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,8 @@ comedi_auto_config_helper(struct device *hardware_device,
return ret;
}

static int comedi_auto_config_wrapper(struct comedi_device *dev,
unsigned long context)
static int comedi_old_auto_config_wrapper(struct comedi_device *dev,
unsigned long context)
{
struct comedi_devconfig *it = (struct comedi_devconfig *)context;
struct comedi_driver *driv = dev->driver;
Expand All @@ -906,9 +906,9 @@ static int comedi_auto_config_wrapper(struct comedi_device *dev,
return driv->attach(dev, it);
}

static int comedi_auto_config(struct device *hardware_device,
struct comedi_driver *driver, const int *options,
unsigned num_options)
static int comedi_old_auto_config(struct device *hardware_device,
struct comedi_driver *driver,
const int *options, unsigned num_options)
{
struct comedi_devconfig it;

Expand All @@ -918,7 +918,7 @@ static int comedi_auto_config(struct device *hardware_device,
BUG_ON(num_options > COMEDI_NDEVCONFOPTS);
memcpy(it.options, options, num_options * sizeof(int));
return comedi_auto_config_helper(hardware_device, driver,
comedi_auto_config_wrapper,
comedi_old_auto_config_wrapper,
(unsigned long)&it);
}

Expand Down Expand Up @@ -979,8 +979,8 @@ static int comedi_old_pci_auto_config(struct pci_dev *pcidev,
/* pci slot */
options[1] = PCI_SLOT(pcidev->devfn);

return comedi_auto_config(&pcidev->dev, driver,
options, ARRAY_SIZE(options));
return comedi_old_auto_config(&pcidev->dev, driver,
options, ARRAY_SIZE(options));
}

static int comedi_pci_attach_wrapper(struct comedi_device *dev,
Expand Down Expand Up @@ -1049,7 +1049,7 @@ EXPORT_SYMBOL_GPL(comedi_pci_driver_unregister);
static int comedi_old_usb_auto_config(struct usb_interface *intf,
struct comedi_driver *driver)
{
return comedi_auto_config(&intf->dev, driver, NULL, 0);
return comedi_old_auto_config(&intf->dev, driver, NULL, 0);
}

static int comedi_usb_attach_wrapper(struct comedi_device *dev,
Expand Down

0 comments on commit 5eefb62

Please sign in to comment.