mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
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
|
@ -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…
Reference in a new issue