Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2015 23:47:50 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292577 - head/sys/dev/ofw
Message-ID:  <201512212347.tBLNloeo052904@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Dec 21 23:47:49 2015
New Revision: 292577
URL: https://svnweb.freebsd.org/changeset/base/292577

Log:
  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.

Modified:
  head/sys/dev/ofw/openfirm.h

Modified: head/sys/dev/ofw/openfirm.h
==============================================================================
--- head/sys/dev/ofw/openfirm.h	Mon Dec 21 22:42:03 2015	(r292576)
+++ head/sys/dev/ofw/openfirm.h	Mon Dec 21 23:47:49 2015	(r292577)
@@ -61,6 +61,7 @@
 #define _DEV_OPENFIRM_H_
 
 #include <sys/types.h>
+#include <machine/_bus.h>
 
 /*
  * Prototypes for Open Firmware Interface Routines



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512212347.tBLNloeo052904>