Include machine/_bus.h so that bus_space_[tag|handle]_t will be available.

It appears that all platforms except aarch64 are getting the file via
various header pollution, and ensuring _bus.h is included before any
openfirmware headers in every consumer of ofw/fdt stuff seems like more of
a career path than a task, so I'm taking this easy way out.
This commit is contained in:
Ian Lepore 2015-12-21 23:47:49 +00:00
parent d3525a9e36
commit 5ce7e615fb

View File

@ -61,6 +61,7 @@
#define _DEV_OPENFIRM_H_
#include <sys/types.h>
#include <machine/_bus.h>
/*
* Prototypes for Open Firmware Interface Routines