svn commit: r287092 - head/sys/powerpc/ofw
Justin Hibbits
jhibbits at FreeBSD.org
Mon Aug 24 04:39:09 UTC 2015
Author: jhibbits
Date: Mon Aug 24 04:39:07 2015
New Revision: 287092
URL: https://svnweb.freebsd.org/changeset/base/287092
Log:
Fix static fdt support.
FDT_DTB_STATIC is defined in opt_platform.h, and fdt_static_dtb is in
fdt_common.h, so include those files.
Sponsored by: Alex Perez/Inertial Computing
Modified:
head/sys/powerpc/ofw/ofw_machdep.c
Modified: head/sys/powerpc/ofw/ofw_machdep.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_machdep.c Mon Aug 24 03:51:18 2015 (r287091)
+++ head/sys/powerpc/ofw/ofw_machdep.c Mon Aug 24 04:39:07 2015 (r287092)
@@ -34,6 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_platform.h"
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/systm.h>
@@ -47,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
+#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_pci.h>
#include <dev/ofw/ofw_bus.h>
More information about the svn-src-all
mailing list