msm: platsmp: Mark ioremapped memory as __iomem
Fixes a handful of sparse warnings. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
parent
a3d3ef9d4f
commit
2b222a2971
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ static __cpuinit void prepare_cold_cpu(unsigned int cpu)
|
||||||
ret = scm_set_boot_addr(virt_to_phys(msm_secondary_startup),
|
ret = scm_set_boot_addr(virt_to_phys(msm_secondary_startup),
|
||||||
SCM_FLAG_COLDBOOT_CPU1);
|
SCM_FLAG_COLDBOOT_CPU1);
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
void *sc1_base_ptr;
|
void __iomem *sc1_base_ptr;
|
||||||
sc1_base_ptr = ioremap_nocache(0x00902000, SZ_4K*2);
|
sc1_base_ptr = ioremap_nocache(0x00902000, SZ_4K*2);
|
||||||
if (sc1_base_ptr) {
|
if (sc1_base_ptr) {
|
||||||
writel(0, sc1_base_ptr + VDD_SC1_ARRAY_CLAMP_GFS_CTL);
|
writel(0, sc1_base_ptr + VDD_SC1_ARRAY_CLAMP_GFS_CTL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue