summaryrefslogtreecommitdiffstats
path: root/hw/gpio
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:30 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:30:22 -0600
commitde4bc7b31d5fd75430e865fd475c6346cd0a58e0 (patch)
tree655a599bc41fd6a0c241644b24f0bb0e65acaec0 /hw/gpio
parent66e62b0cda6c10a5a9895d7fe7c7b6231d23c14d (diff)
downloadhqemu-de4bc7b31d5fd75430e865fd475c6346cd0a58e0.zip
hqemu-de4bc7b31d5fd75430e865fd475c6346cd0a58e0.tar.gz
hw: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-38-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/gpio')
-rw-r--r--hw/gpio/max7310.c1
-rw-r--r--hw/gpio/mpc8xxx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/gpio/max7310.c b/hw/gpio/max7310.c
index 2f59b13..1bd5eaf 100644
--- a/hw/gpio/max7310.c
+++ b/hw/gpio/max7310.c
@@ -7,6 +7,7 @@
* This file is licensed under GNU GPL.
*/
+#include "qemu/osdep.h"
#include "hw/i2c/i2c.h"
#define TYPE_MAX7310 "max7310"
diff --git a/hw/gpio/mpc8xxx.c b/hw/gpio/mpc8xxx.c
index 1aeaaaa..d149719 100644
--- a/hw/gpio/mpc8xxx.c
+++ b/hw/gpio/mpc8xxx.c
@@ -19,6 +19,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "hw/sysbus.h"
#define TYPE_MPC8XXX_GPIO "mpc8xxx_gpio"
OpenPOWER on IntegriCloud