* [PATCH] ARM: msm: Change type of ioremap function
@ 2013-05-02 17:11 Laura Abbott
2013-05-02 17:26 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Laura Abbott @ 2013-05-02 17:11 UTC (permalink / raw)
To: David Brown, Daniel Walker, Stephen Boyd; +Cc: linux-arm-msm, Laura Abbott
Commit cd024d4245b2bfbd824b911f11a9756d1d6c167d
(ARM: 7704/1: mm: Use phys_addr_t properly for ioremap functions)
changed the type of the ioremap functions to actually use phys_addr_t
instead of unsigned long. Change the type of the arch_ioremap function
to use phys_addr_t as well.
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/common.h b/arch/arm/mach-msm/common.h
index ce8215a..421cf77 100644
--- a/arch/arm/mach-msm/common.h
+++ b/arch/arm/mach-msm/common.h
@@ -23,7 +23,7 @@ extern void msm_map_msm8x60_io(void);
extern void msm_map_msm8960_io(void);
extern void msm_map_qsd8x50_io(void);
-extern void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
+extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
unsigned int mtype, void *caller);
extern struct smp_operations msm_smp_ops;
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index 123ef9c..fd65b6d 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -172,7 +172,7 @@ void __init msm_map_msm7x30_io(void)
}
#endif /* CONFIG_ARCH_MSM7X30 */
-void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
+void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
unsigned int mtype, void *caller)
{
if (mtype == MT_DEVICE) {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: msm: Change type of ioremap function
2013-05-02 17:11 [PATCH] ARM: msm: Change type of ioremap function Laura Abbott
@ 2013-05-02 17:26 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2013-05-02 17:26 UTC (permalink / raw)
To: Laura Abbott; +Cc: David Brown, Daniel Walker, linux-arm-msm
On 05/02/13 10:11, Laura Abbott wrote:
> Commit cd024d4245b2bfbd824b911f11a9756d1d6c167d
> (ARM: 7704/1: mm: Use phys_addr_t properly for ioremap functions)
> changed the type of the ioremap functions to actually use phys_addr_t
> instead of unsigned long. Change the type of the arch_ioremap function
> to use phys_addr_t as well.
>
> Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
>
> diff --git a/arch/arm/mach-msm/common.h b/arch/arm/mach-msm/common.h
> index ce8215a..421cf77 100644
> --- a/arch/arm/mach-msm/common.h
> +++ b/arch/arm/mach-msm/common.h
> @@ -23,7 +23,7 @@ extern void msm_map_msm8x60_io(void);
> extern void msm_map_msm8960_io(void);
> extern void msm_map_qsd8x50_io(void);
>
> -extern void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
> +extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
> unsigned int mtype, void *caller);
>
> extern struct smp_operations msm_smp_ops;
> diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
> index 123ef9c..fd65b6d 100644
> --- a/arch/arm/mach-msm/io.c
> +++ b/arch/arm/mach-msm/io.c
> @@ -172,7 +172,7 @@ void __init msm_map_msm7x30_io(void)
> }
> #endif /* CONFIG_ARCH_MSM7X30 */
>
> -void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
> +void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
> unsigned int mtype, void *caller)
> {
> if (mtype == MT_DEVICE) {
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-02 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 17:11 [PATCH] ARM: msm: Change type of ioremap function Laura Abbott
2013-05-02 17:26 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.