summaryrefslogtreecommitdiff
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 d7899d16d7..5e0d25720b 100644
--- a/arch/riscv/lib/sifive_clint.c
+++ b/arch/riscv/lib/sifive_clint.c
@@ -13,6 +13,7 @@
#include <syscon.h>
#include <asm/io.h>
#include <asm/syscon.h>
+#include <linux/err.h>
/* MSIP registers */
#define MSIP_REG(base, hart) ((ulong)(base) + (hart) * 4)