projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82de765
)
spi: spi_sh_sci.c: use resource_size()
author
hartleys
<hartleys@visionengravers.com>
Mon, 14 Dec 2009 22:40:05 +0000
(22:40 +0000)
committer
Grant Likely
<grant.likely@secretlab.ca>
Thu, 17 Dec 2009 16:00:10 +0000
(09:00 -0700)
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_sh_sci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi_sh_sci.c
b/drivers/spi/spi_sh_sci.c
index 7d36720eb98299858878c777ffe09b74d6641a96..a65c12ffa73352a79a160dcc5ae665fecb862dc1 100644
(file)
--- a/
drivers/spi/spi_sh_sci.c
+++ b/
drivers/spi/spi_sh_sci.c
@@
-148,7
+148,7
@@
static int sh_sci_spi_probe(struct platform_device *dev)
ret = -ENOENT;
goto err1;
}
- sp->membase = ioremap(r->start, r
->end - r->start + 1
);
+ sp->membase = ioremap(r->start, r
esource_size(r)
);
if (!sp->membase) {
ret = -ENXIO;
goto err1;