Include opt_platform.h to ensure FDT is defined
We need to include opt_platform.h as it's where FDT will be defined. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
89a9a13c1a
commit
47218e711e
sys/dev
@ -26,6 +26,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
#include "opt_platform.h"
|
||||
|
||||
#ifdef FDT
|
||||
#include <sys/types.h>
|
||||
#include <dev/ofw/ofw_bus.h>
|
||||
|
@ -25,6 +25,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "opt_platform.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
|
@ -30,6 +30,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
#include "opt_platform.h"
|
||||
|
||||
#include <machine/bus.h>
|
||||
|
||||
#ifdef FDT
|
||||
|
Loading…
x
Reference in New Issue
Block a user