diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:25 +0000 |
commit | 0430891ce162b986c6e02a7729a942ecd2a32ca4 (patch) | |
tree | f8b5b31225f71bfcf808c359a3d61083a1deb9c1 /hw/i2c | |
parent | 18c86e2b9d85a89818f485c2cadafa6e3932e43a (diff) | |
download | qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.tar.gz qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.tar.bz2 qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.zip |
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/i2c')
-rw-r--r-- | hw/i2c/bitbang_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/core.c | 1 | ||||
-rw-r--r-- | hw/i2c/smbus.c | 1 | ||||
-rw-r--r-- | hw/i2c/smbus_eeprom.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index 6d1bb03d6c..6ed2060203 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -9,6 +9,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "bitbang_i2c.h" #include "hw/sysbus.h" diff --git a/hw/i2c/core.c b/hw/i2c/core.c index 5a64026347..ba22104af8 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -7,6 +7,7 @@ * This code is licensed under the LGPL. */ +#include "qemu/osdep.h" #include "hw/i2c/i2c.h" struct I2CBus diff --git a/hw/i2c/smbus.c b/hw/i2c/smbus.c index 6e27ae8bd2..3979b3dad7 100644 --- a/hw/i2c/smbus.c +++ b/hw/i2c/smbus.c @@ -9,6 +9,7 @@ /* TODO: Implement PEC. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus.h" diff --git a/hw/i2c/smbus_eeprom.c b/hw/i2c/smbus_eeprom.c index 72c09cba6b..5b7bd891bc 100644 --- a/hw/i2c/smbus_eeprom.c +++ b/hw/i2c/smbus_eeprom.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus.h" |