aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/control.c')
-rw-r--r--arch/arm/mach-omap2/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c
index 8b3c469e7bcd..d21faba3866b 100644
--- a/arch/arm/mach-omap2/control.c
+++ b/arch/arm/mach-omap2/control.c
@@ -215,7 +215,7 @@ void omap4_ctrl_pad_writel(u32 val, u16 offset)
215void omap3_clear_scratchpad_contents(void) 215void omap3_clear_scratchpad_contents(void)
216{ 216{
217 u32 max_offset = OMAP343X_SCRATCHPAD_ROM_OFFSET; 217 u32 max_offset = OMAP343X_SCRATCHPAD_ROM_OFFSET;
218 u32 *v_addr; 218 void __iomem *v_addr;
219 u32 offset = 0; 219 u32 offset = 0;
220 v_addr = OMAP2_L4_IO_ADDRESS(OMAP343X_SCRATCHPAD_ROM); 220 v_addr = OMAP2_L4_IO_ADDRESS(OMAP343X_SCRATCHPAD_ROM);
221 if (prm_read_mod_reg(OMAP3430_GR_MOD, OMAP3_PRM_RSTST_OFFSET) & 221 if (prm_read_mod_reg(OMAP3430_GR_MOD, OMAP3_PRM_RSTST_OFFSET) &
@@ -231,7 +231,7 @@ void omap3_clear_scratchpad_contents(void)
231/* Populate the scratchpad structure with restore structure */ 231/* Populate the scratchpad structure with restore structure */
232void omap3_save_scratchpad_contents(void) 232void omap3_save_scratchpad_contents(void)
233{ 233{
234 void * __iomem scratchpad_address; 234 void __iomem *scratchpad_address;
235 u32 arm_context_addr; 235 u32 arm_context_addr;
236 struct omap3_scratchpad scratchpad_contents; 236 struct omap3_scratchpad scratchpad_contents;
237 struct omap3_scratchpad_prcm_block prcm_block_contents; 237 struct omap3_scratchpad_prcm_block prcm_block_contents;