summaryrefslogtreecommitdiffstats
path: root/hw/i2c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:03 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:30:21 -0600
commit87f778cf24dc2e29d28ad4afba7bd84ea0672ce0 (patch)
treebdb4392daa04900eb3b3580f0ed33d7a7f8768aa /hw/i2c
parent06a16ff746af8bd7731c136d109712378a08c07f (diff)
downloadhqemu-87f778cf24dc2e29d28ad4afba7bd84ea0672ce0.zip
hqemu-87f778cf24dc2e29d28ad4afba7bd84ea0672ce0.tar.gz
x86: 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-11-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/i2c')
-rw-r--r--hw/i2c/pm_smbus.c1
-rw-r--r--hw/i2c/smbus_ich9.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/i2c/pm_smbus.c b/hw/i2c/pm_smbus.c
index ce1713d..6fc3923 100644
--- a/hw/i2c/pm_smbus.c
+++ b/hw/i2c/pm_smbus.c
@@ -17,6 +17,7 @@
* License along with this library; if not, see
* <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/i386/pc.h"
#include "hw/i2c/pm_smbus.h"
diff --git a/hw/i2c/smbus_ich9.c b/hw/i2c/smbus_ich9.c
index 91d4d32..498f03e 100644
--- a/hw/i2c/smbus_ich9.c
+++ b/hw/i2c/smbus_ich9.c
@@ -24,6 +24,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/i386/pc.h"
#include "hw/i2c/pm_smbus.h"
OpenPOWER on IntegriCloud