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:
parent
d3525a9e36
commit
5ce7e615fb
@ -61,6 +61,7 @@
|
||||
#define _DEV_OPENFIRM_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/_bus.h>
|
||||
|
||||
/*
|
||||
* Prototypes for Open Firmware Interface Routines
|
||||
|
Loading…
Reference in New Issue
Block a user