projects
/
GitHub
/
LineageOS
/
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:
c58bfa6
)
USB: musb: tusb6010: use resource_size
author
Felipe Balbi
<felipe.balbi@nokia.com>
Thu, 21 Jan 2010 13:33:56 +0000
(15:33 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:54:42 +0000
(14:54 -0800)
Trivial patch, no functional changes.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/tusb6010.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/tusb6010.c
b/drivers/usb/musb/tusb6010.c
index 88b587c703e96cfea7ce2149190cdecb1003ba42..ab776a8d98cad99897a7c01f0a02cc78ba1b4dc2 100644
(file)
--- a/
drivers/usb/musb/tusb6010.c
+++ b/
drivers/usb/musb/tusb6010.c
@@
-1118,7
+1118,7
@@
int __init musb_platform_init(struct musb *musb)
}
musb->sync = mem->start;
- sync = ioremap(mem->start,
mem->end - mem->start + 1
);
+ sync = ioremap(mem->start,
resource_size(mem)
);
if (!sync) {
pr_debug("ioremap for sync failed\n");
ret = -ENOMEM;