Include the correct header to get a phandle_t needed by ofw_bus_if.h. While

here only include opt_platform.h once.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-02-11 16:43:23 +00:00
parent a633908d21
commit 34096f3c06

View File

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