aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cm33xx.h
diff options
context:
space:
mode:
authorVaibhav Bedia <vaibhav.bedia@ti.com>2013-01-29 16:45:01 +0530
committerPaul Walmsley <paul@pwsan.com>2013-02-08 07:24:30 -0700
commit1a7cb4d9c37143ca75567ee4dc10608059c610dc (patch)
tree67a09397932a4cbf27ef431254aa73444545de12 /arch/arm/mach-omap2/cm33xx.h
parentARM: OMAP2+: AM33XX: CM: Get rid of unnecessary header inclusions (diff)
downloadlinux-dev-1a7cb4d9c37143ca75567ee4dc10608059c610dc.tar.xz
linux-dev-1a7cb4d9c37143ca75567ee4dc10608059c610dc.zip
ARM: OMAP2+: AM33XX: CM/PRM: Use __ASSEMBLER__ macros in header files
This is necessary to ensure that macros declared here can be reused from assembly files. Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm33xx.h')
-rw-r--r--arch/arm/mach-omap2/cm33xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm33xx.h b/arch/arm/mach-omap2/cm33xx.h
index 8009e1366ed8..64f4bafe7bd9 100644
--- a/arch/arm/mach-omap2/cm33xx.h
+++ b/arch/arm/mach-omap2/cm33xx.h
@@ -376,6 +376,7 @@
#define AM33XX_CM_CEFUSE_CEFUSE_CLKCTRL AM33XX_CM_REGADDR(AM33XX_CM_CEFUSE_MOD, 0x0020)
+#ifndef __ASSEMBLER__
extern bool am33xx_cm_is_clkdm_in_hwsup(s16 inst, u16 cdoffs);
extern void am33xx_cm_clkdm_enable_hwsup(s16 inst, u16 cdoffs);
extern void am33xx_cm_clkdm_disable_hwsup(s16 inst, u16 cdoffs);
@@ -412,4 +413,5 @@ static inline int am33xx_cm_wait_module_ready(u16 inst, s16 cdoffs,
}
#endif
+#endif /* ASSEMBLER */
#endif