diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:46 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:52 +0200 |
commit | d4842052100a3b44167e34ebdce0e7b3bf7512cf (patch) | |
tree | 1843d364e16c6c272b97ca6870fb31d6992ed2a3 /hw | |
parent | d6454270575da1f16a8923c7cb240e46ef243f72 (diff) |
Include exec/memory.h slightly less
Drop unnecessary inclusions from headers. Downgrade a few more to
exec/hwaddr.h.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-17-armbru@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/audio/lm4549.h | 1 | ||||
-rw-r--r-- | hw/display/edid-region.c | 1 | ||||
-rw-r--r-- | hw/display/tc6393xb.c | 1 | ||||
-rw-r--r-- | hw/net/can/can_sja1000.h | 1 | ||||
-rw-r--r-- | hw/net/ne2000.c | 1 | ||||
-rw-r--r-- | hw/xtensa/xtensa_memory.h | 1 |
6 files changed, 5 insertions, 1 deletions
diff --git a/hw/audio/lm4549.h b/hw/audio/lm4549.h index 74c3ee8934..aba9bb5b07 100644 --- a/hw/audio/lm4549.h +++ b/hw/audio/lm4549.h @@ -13,6 +13,7 @@ #define HW_LM4549_H #include "audio/audio.h" +#include "exec/hwaddr.h" typedef void (*lm4549_callback)(void *opaque); diff --git a/hw/display/edid-region.c b/hw/display/edid-region.c index d0d31bad3d..675429dc18 100644 --- a/hw/display/edid-region.c +++ b/hw/display/edid-region.c @@ -1,4 +1,5 @@ #include "qemu/osdep.h" +#include "exec/memory.h" #include "hw/display/edid.h" static uint64_t edid_region_read(void *ptr, hwaddr addr, unsigned size) diff --git a/hw/display/tc6393xb.c b/hw/display/tc6393xb.c index 10e7f74c74..74a77eb43b 100644 --- a/hw/display/tc6393xb.c +++ b/hw/display/tc6393xb.c @@ -17,6 +17,7 @@ #include "hw/hw.h" #include "hw/irq.h" #include "hw/display/tc6393xb.h" +#include "exec/memory.h" #include "hw/block/flash.h" #include "ui/console.h" #include "ui/pixel_ops.h" diff --git a/hw/net/can/can_sja1000.h b/hw/net/can/can_sja1000.h index 4731cbbd2a..220a622087 100644 --- a/hw/net/can/can_sja1000.h +++ b/hw/net/can/can_sja1000.h @@ -27,6 +27,7 @@ #ifndef HW_CAN_SJA1000_H #define HW_CAN_SJA1000_H +#include "exec/hwaddr.h" #include "net/can_emu.h" #define CAN_SJA_MEM_SIZE 128 diff --git a/hw/net/ne2000.c b/hw/net/ne2000.c index 7731b5acd1..a1a1046494 100644 --- a/hw/net/ne2000.c +++ b/hw/net/ne2000.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "net/eth.h" #include "qemu/module.h" +#include "exec/memory.h" #include "hw/irq.h" #include "migration/vmstate.h" #include "ne2000.h" diff --git a/hw/xtensa/xtensa_memory.h b/hw/xtensa/xtensa_memory.h index d50a3cccc0..af7e8025e3 100644 --- a/hw/xtensa/xtensa_memory.h +++ b/hw/xtensa/xtensa_memory.h @@ -29,7 +29,6 @@ #define XTENSA_MEMORY_H #include "cpu.h" -#include "exec/memory.h" void xtensa_create_memory_regions(const XtensaMemory *memory, const char *name, |