Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364113
b: refs/heads/master
c: 8567a85
h: refs/heads/master
i:
  364111: 1cba4aa
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent 520e3c9 commit ed0fede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: cc3750883c161b595be02bf235bd38747a68f0d7
refs/heads/master: 8567a85168ae6bfbf7e566fe9e16d36a1d23fde7
4 changes: 1 addition & 3 deletions trunk/drivers/staging/comedi/drivers/jr3_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,7 @@ static int jr3_pci_auto_attach(struct comedi_device *dev,
if (result)
return result;

devpriv->iobase = ioremap(pci_resource_start(pcidev, 0),
offsetof(struct jr3_t,
channel[devpriv->n_channels]));
devpriv->iobase = pci_ioremap_bar(pcidev, 0);
if (!devpriv->iobase)
return -ENOMEM;

Expand Down

0 comments on commit ed0fede

Please sign in to comment.