aboutsummaryrefslogtreecommitdiff
path: root/hw/gpio
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:30 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:25 +0000
commit0430891ce162b986c6e02a7729a942ecd2a32ca4 (patch)
treef8b5b31225f71bfcf808c359a3d61083a1deb9c1 /hw/gpio
parent18c86e2b9d85a89818f485c2cadafa6e3932e43a (diff)
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 2f59b134ee..1bd5eaf911 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 1aeaaaaf03..d149719469 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"