aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/lib/sifive_clint.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/sifive_clint.c')
-rw-r--r--arch/riscv/lib/sifive_clint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/lib/sifive_clint.c b/arch/riscv/lib/sifive_clint.c
index cfa288a01a8..ab22395c552 100644
--- a/arch/riscv/lib/sifive_clint.c
+++ b/arch/riscv/lib/sifive_clint.c
@@ -10,6 +10,7 @@
#include <common.h>
#include <dm.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/smp.h>
#include <linux/err.h>