Commit c40ad8de authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP2: Whitespace fixes for sending register access upstream

Whitespace fixes for sending register access upstream
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1a0226f4
......@@ -94,7 +94,8 @@ static u32 __attribute__((unused)) cm_read_reg(void __iomem *addr)
/* Clock management domain register get/set */
#ifndef __ASSEMBLER__
static void __attribute__((unused)) cm_write_mod_reg(u32 val, s16 module, s16 idx)
static void __attribute__((unused)) cm_write_mod_reg(u32 val, s16 module,
s16 idx)
{
cm_write_reg(val, OMAP_CM_REGADDR(module, idx));
}
......
......@@ -20,7 +20,8 @@
static u32 omap2_ctrl_base;
#define OMAP_CTRL_REGADDR(reg) (void __iomem *)IO_ADDRESS(omap2_ctrl_base + reg)
#define OMAP_CTRL_REGADDR(reg) (void __iomem *)IO_ADDRESS(omap2_ctrl_base \
+ (reg))
void omap_ctrl_base_set(u32 base)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment