diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-15 13:16:16 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 16:42:29 +0200 |
commit | 03dd024ff57733a55cd2e455f361d053c81b1b29 (patch) | |
tree | e2787158c48a79a66fadcd632cfe6f9d230fcdda /hw/i2c | |
parent | e6623d88f44aae9e9c78276c0cb7bd352283d50a (diff) | |
download | qemu-03dd024ff57733a55cd2e455f361d053c81b1b29.zip qemu-03dd024ff57733a55cd2e455f361d053c81b1b29.tar.gz qemu-03dd024ff57733a55cd2e455f361d053c81b1b29.tar.bz2 |
hw: explicitly include qemu/log.h
Move the inclusion out of hw/hw.h, most files do not need it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i2c')
-rw-r--r-- | hw/i2c/imx_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/versatile_i2c.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/i2c/imx_i2c.c b/hw/i2c/imx_i2c.c index e19d4fa..37e5a62 100644 --- a/hw/i2c/imx_i2c.c +++ b/hw/i2c/imx_i2c.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/i2c/imx_i2c.h" #include "hw/i2c/i2c.h" +#include "qemu/log.h" #ifndef DEBUG_IMX_I2C #define DEBUG_IMX_I2C 0 diff --git a/hw/i2c/versatile_i2c.c b/hw/i2c/versatile_i2c.c index fee3bc7..0bce524 100644 --- a/hw/i2c/versatile_i2c.c +++ b/hw/i2c/versatile_i2c.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "bitbang_i2c.h" +#include "qemu/log.h" #define TYPE_VERSATILE_I2C "versatile_i2c" #define VERSATILE_I2C(obj) \ |