msm: pil: Use phys_addr_t for physical address
Update the physical address type to be phys_addr_t for the
following reasons:
1) Match with the return type of the pil_get_entry_addr()
2) If the image is placed above 4GB e.g. LPAE supported case,
phys_addr_t can hold physical address.
Change-Id: Ifcffc336b7b94a6f864afc05c3f5a3ffdc813231
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
diff --git a/arch/arm/mach-msm/pil-modem.c b/arch/arm/mach-msm/pil-modem.c
index 30f480a..8398206 100644
--- a/arch/arm/mach-msm/pil-modem.c
+++ b/arch/arm/mach-msm/pil-modem.c
@@ -93,7 +93,7 @@
{
u32 reg;
const struct modem_data *drv = dev_get_drvdata(pil->dev);
- unsigned long start_addr = pil_get_entry_addr(pil);
+ phys_addr_t start_addr = pil_get_entry_addr(pil);
/* Put modem AHB0,1,2 clocks into reset */
writel_relaxed(BIT(0) | BIT(1), drv->cbase + MAHB0_SFAB_PORT_RESET);