Stop including fdt_common.h in the arm64 code. We don't use anything from

it, however may have relied on header pollution to pull in the needed
headers through it

Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2016-01-22 16:35:01 +00:00
parent 9f44740888
commit 8bab59d4a5
4 changed files with 4 additions and 5 deletions

View File

@ -30,7 +30,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
@ -38,7 +39,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>

View File

@ -31,13 +31,13 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <machine/resource.h>
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>

View File

@ -83,7 +83,6 @@ __FBSDID("$FreeBSD$");
#endif
#ifdef FDT
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#endif

View File

@ -64,7 +64,7 @@ __FBSDID("$FreeBSD$");
#include "opt_platform.h"
#ifdef FDT
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include "ofw_bus_if.h"
#endif
#ifdef DEV_ACPI