summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/allwinner/a10/uart.h')
-rw-r--r--src/cpu/allwinner/a10/uart.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/allwinner/a10/uart.h b/src/cpu/allwinner/a10/uart.h
index a5ed2a9f70..92a87e5d11 100644
--- a/src/cpu/allwinner/a10/uart.h
+++ b/src/cpu/allwinner/a10/uart.h
@@ -26,6 +26,7 @@
#define CPU_ALLWINNER_A10_UART_H
#include <types.h>
+#include <compiler.h>
struct a10_uart {
union {
@@ -71,7 +72,7 @@ struct a10_uart {
u8 reserved_0xa0[4];
u32 halt; /* Halt register */
-} __attribute__ ((packed));
+} __packed;
enum uart_parity {
UART_PARITY_NONE,