summaryrefslogtreecommitdiff
path: root/include/drivers/cadence/cdns_uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drivers/cadence/cdns_uart.h')
-rw-r--r--include/drivers/cadence/cdns_uart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drivers/cadence/cdns_uart.h b/include/drivers/cadence/cdns_uart.h
index 0a1cf778..64a062ca 100644
--- a/include/drivers/cadence/cdns_uart.h
+++ b/include/drivers/cadence/cdns_uart.h
@@ -27,7 +27,7 @@
#define CONSOLE_T_CDNS_BASE CONSOLE_T_DRVDATA
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <stdint.h>
@@ -45,6 +45,6 @@ typedef struct {
int console_cdns_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
console_cdns_t *console);
-#endif /*__ASSEMBLY__*/
+#endif /*__ASSEMBLER__*/
#endif /* CDNS_UART_H */