Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149317
b: refs/heads/master
c: dc890c2
h: refs/heads/master
i:
  149315: ce5ccc7
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Jun 11, 2009
1 parent 34e7368 commit 0955af8
Show file tree
Hide file tree
Showing 9 changed files with 9 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: 42578c82e0f1810a07ebe29cb05e874893243d8c
refs/heads/master: dc890c2dcd63a90de68ee5f0253eefbb89d725f0
2 changes: 1 addition & 1 deletion trunk/drivers/input/serio/ambakmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
io->dev.parent = &dev->dev;

kmi->io = io;
kmi->base = ioremap(dev->res.start, KMI_SIZE);
kmi->base = ioremap(dev->res.start, resource_size(&dev->res));
if (!kmi->base) {
ret = -ENOMEM;
goto out;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/host/mmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id)
host->mclk = clk_get_rate(host->clk);
DBG(host, "eventual mclk rate: %u Hz\n", host->mclk);
}
host->base = ioremap(dev->res.start, SZ_4K);
host->base = ioremap(dev->res.start, resource_size(&dev->res));
if (!host->base) {
ret = -ENOMEM;
goto clk_disable;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/rtc/rtc-pl030.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static int pl030_probe(struct amba_device *dev, struct amba_id *id)
goto err_rtc;
}

rtc->base = ioremap(dev->res.start, SZ_4K);
rtc->base = ioremap(dev->res.start, resource_size(&dev->res));
if (!rtc->base) {
ret = -ENOMEM;
goto err_map;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/rtc/rtc-pl031.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ static int pl031_probe(struct amba_device *adev, struct amba_id *id)
goto out;
}

ldata->base = ioremap(adev->res.start,
adev->res.end - adev->res.start + 1);
ldata->base = ioremap(adev->res.start, resource_size(&adev->res));
if (!ldata->base) {
ret = -ENOMEM;
goto out_no_remap;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/amba-pl010.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ static int pl010_probe(struct amba_device *dev, struct amba_id *id)
goto out;
}

base = ioremap(dev->res.start, PAGE_SIZE);
base = ioremap(dev->res.start, resource_size(&dev->res));
if (!base) {
ret = -ENOMEM;
goto free;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/amba-pl011.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ static int pl011_probe(struct amba_device *dev, struct amba_id *id)
goto out;
}

base = ioremap(dev->res.start, PAGE_SIZE);
base = ioremap(dev->res.start, resource_size(&dev->res));
if (!base) {
ret = -ENOMEM;
goto free;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/amba-clcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int clcdfb_register(struct clcd_fb *fb)
}

fb->fb.fix.mmio_start = fb->dev->res.start;
fb->fb.fix.mmio_len = 4096;
fb->fb.fix.mmio_len = resource_size(&fb->dev->res);

fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len);
if (!fb->regs) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/arm/aaci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ static int __devinit aaci_probe(struct amba_device *dev, struct amba_id *id)
goto out;
}

aaci->base = ioremap(dev->res.start, SZ_4K);
aaci->base = ioremap(dev->res.start, resource_size(&dev->res));
if (!aaci->base) {
ret = -ENOMEM;
goto out;
Expand Down

0 comments on commit 0955af8

Please sign in to comment.