Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364103
b: refs/heads/master
c: 925fe5a
h: refs/heads/master
i:
  364101: f3ffe13
  364099: 2801faa
  364095: 707dbb3
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent ade80e6 commit edd52c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 5aa41d4ce4e1fd71e256f938448424b4f28871c4
refs/heads/master: 925fe5a6dca3e6a98c74e543cfb072ec63d58b73
8 changes: 2 additions & 6 deletions trunk/drivers/staging/comedi/drivers/gsc_hpdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,12 +498,8 @@ static int hpdi_auto_attach(struct comedi_device *dev,
return retval;
pci_set_master(pcidev);

devpriv->plx9080_iobase =
ioremap(pci_resource_start(pcidev, 0),
pci_resource_len(pcidev, 0));
devpriv->hpdi_iobase =
ioremap(pci_resource_start(pcidev, 2),
pci_resource_len(pcidev, 2));
devpriv->plx9080_iobase = pci_ioremap_bar(pcidev, 0);
devpriv->hpdi_iobase = pci_ioremap_bar(pcidev, 2);
if (!devpriv->plx9080_iobase || !devpriv->hpdi_iobase) {
dev_warn(dev->class_dev, "failed to remap io memory\n");
return -ENOMEM;
Expand Down

0 comments on commit edd52c2

Please sign in to comment.