Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154093
b: refs/heads/master
c: 24ed3ab
h: refs/heads/master
i:
  154091: bab7aef
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Jun 24, 2009
1 parent 895310e commit fccfc3e
Show file tree
Hide file tree
Showing 3 changed files with 4 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: ce89294c056805019d8369b3b74bb52ef51b4708
refs/heads/master: 24ed3abaa13a9499d7454a1ed9830bb53b689b94
6 changes: 2 additions & 4 deletions trunk/drivers/serial/8250_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,7 @@ static int sbs_init(struct pci_dev *dev)
{
u8 __iomem *p;

p = ioremap_nocache(pci_resource_start(dev, 0),
pci_resource_len(dev, 0));
p = pci_ioremap_bar(dev, 0);

if (p == NULL)
return -ENOMEM;
Expand All @@ -423,8 +422,7 @@ static void __devexit sbs_exit(struct pci_dev *dev)
{
u8 __iomem *p;

p = ioremap_nocache(pci_resource_start(dev, 0),
pci_resource_len(dev, 0));
p = pci_ioremap_bar(dev, 0);
/* FIXME: What if resource_len < OCT_REG_CR_OFF */
if (p != NULL)
writeb(0, p + OCT_REG_CR_OFF);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/serial/icom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1548,8 +1548,7 @@ static int __devinit icom_probe(struct pci_dev *dev,
goto probe_exit1;
}

icom_adapter->base_addr = ioremap(icom_adapter->base_addr_pci,
pci_resource_len(dev, 0));
icom_adapter->base_addr = pci_ioremap_bar(dev, 0);

if (!icom_adapter->base_addr)
goto probe_exit1;
Expand Down

0 comments on commit fccfc3e

Please sign in to comment.