]> xenbits.xensource.com Git - freebsd.git/commitdiff
riscv: Add missing header
authorkp <kp@FreeBSD.org>
Wed, 11 Sep 2019 18:07:15 +0000 (18:07 +0000)
committerkp <kp@FreeBSD.org>
Wed, 11 Sep 2019 18:07:15 +0000 (18:07 +0000)
r352218 missing an include statement, causing the build to fail.

Submitted by: Nicholas O'Brien (nickisobrien_gmail.com)
Sponsored by: Axiado

sys/riscv/riscv/identcpu.c

index 1abcb1b91240c3487aed3f79da8f7db7e83feda2..8aa9edf01753be200c06f464c5cc9e9089b4ab71 100644 (file)
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
 #ifdef FDT
 #include <dev/fdt/fdt_common.h>
 #include <dev/ofw/openfirm.h>
+#include <dev/ofw/ofw_bus_subr.h>
 #endif
 
 char machine[] = "riscv";