diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r-- | arch/arm/mach-omap2/prm.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h index dcdb35bfa0c0..e901fb99b237 100644 --- a/arch/arm/mach-omap2/prm.h +++ b/arch/arm/mach-omap2/prm.h | |||
@@ -166,16 +166,8 @@ | |||
166 | #ifndef __ASSEMBLER__ | 166 | #ifndef __ASSEMBLER__ |
167 | 167 | ||
168 | /* Power/reset management domain register get/set */ | 168 | /* Power/reset management domain register get/set */ |
169 | 169 | extern u32 prm_read_mod_reg(s16 module, u16 idx); | |
170 | static inline void prm_write_mod_reg(u32 val, s16 module, s16 idx) | 170 | extern void prm_write_mod_reg(u32 val, s16 module, u16 idx); |
171 | { | ||
172 | __raw_writel(val, OMAP_PRM_REGADDR(module, idx)); | ||
173 | } | ||
174 | |||
175 | static inline u32 prm_read_mod_reg(s16 module, s16 idx) | ||
176 | { | ||
177 | return __raw_readl(OMAP_PRM_REGADDR(module, idx)); | ||
178 | } | ||
179 | 171 | ||
180 | #endif | 172 | #endif |
181 | 173 | ||