aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:40:12 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 21:19:23 -0400
commitf09f1ecbe77863ecefe586ccd6000064b49105a3 (patch)
tree424300a0c18924e75e0694782fe3e2ba48e884a0 /arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h
parentc05ed00afb95fa5237f16962fccf5810437317bf (diff)
downloadu-boot-f09f1ecbe77863ecefe586ccd6000064b49105a3.zip
u-boot-f09f1ecbe77863ecefe586ccd6000064b49105a3.tar.gz
u-boot-f09f1ecbe77863ecefe586ccd6000064b49105a3.tar.bz2
Use __ASSEMBLY__ as the assembly macros
Some places use __ASSEMBLER__ instead which does not work since the Makefile does not define it. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h b/arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h
index 23f280d..8d62d75 100644
--- a/arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h
+++ b/arch/arm/mach-socfpga/include/mach/clock_manager_arria10.h
@@ -6,7 +6,7 @@
#ifndef CLOCK_MANAGER_ARRIA10
#define CLOCK_MANAGER_ARRIA10
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
/* Clock manager group */
#define CLKMGR_A10_CTRL 0x00
@@ -69,7 +69,7 @@ unsigned long cm_get_mpu_clk_hz(void);
unsigned int cm_get_qspi_controller_clk_hz(void);
-#endif /* __ASSEMBLER__ */
+#endif /* __ASSEMBLY__ */
#define LOCKED_MASK (CLKMGR_CLKMGR_STAT_MAINPLLLOCKED_SET_MSK | \
CLKMGR_CLKMGR_STAT_PERPLLLOCKED_SET_MSK)