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:
425dbc5
)
ARM: msm: Don't compile __msm_ioremap_caller() unless used
author
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 24 Jul 2013 20:54:27 +0000
(13:54 -0700)
committer
David Brown
<davidb@codeaurora.org>
Mon, 29 Jul 2013 18:24:36 +0000
(11:24 -0700)
This function is only used on MSM7x00A so only compile the
function if the build includes support for that platform.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/io.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-msm/io.c
b/arch/arm/mach-msm/io.c
index 3dc04ccaf59f15973f5719e491fd3b4a4aa96539..4a1a222ac77868b57f2bd675cebc58d667e7472d 100644
(file)
--- a/
arch/arm/mach-msm/io.c
+++ b/
arch/arm/mach-msm/io.c
@@
-168,6
+168,7
@@
void __init msm_map_msm7x30_io(void)
}
#endif /* CONFIG_ARCH_MSM7X30 */
+#ifdef CONFIG_ARCH_MSM7X00A
void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
unsigned int mtype, void *caller)
{
@@
-182,3
+183,4
@@
void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
return __arm_ioremap_caller(phys_addr, size, mtype, caller);
}
+#endif