Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126265
b: refs/heads/master
c: bdbeed7
h: refs/heads/master
i:
  126263: a9c0bfc
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Jan 6, 2009
1 parent 6f71b8a commit 662e48c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: ea435467500612636f8f4fb639ff6e76b2496e4b
refs/heads/master: bdbeed75b288443ea14208eafaac3941f385f2ae
3 changes: 1 addition & 2 deletions trunk/drivers/misc/ibmasm/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ static int __devinit ibmasm_init_one(struct pci_dev *pdev, const struct pci_devi
}

sp->irq = pdev->irq;
sp->base_address = ioremap(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
sp->base_address = pci_ioremap_bar(pdev, 0);
if (!sp->base_address) {
dev_err(sp->dev, "Failed to ioremap pci memory\n");
result = -ENODEV;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/misc/tifm_7xx1.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ static int tifm_7xx1_probe(struct pci_dev *dev,
fm->has_ms_pif = tifm_7xx1_has_ms_pif;
pci_set_drvdata(dev, fm);

fm->addr = ioremap(pci_resource_start(dev, 0),
pci_resource_len(dev, 0));
fm->addr = pci_ioremap_bar(dev, 0);
if (!fm->addr)
goto err_out_free;

Expand Down

0 comments on commit 662e48c

Please sign in to comment.