]> git.proxmox.com Git - mirror_qemu.git/commitdiff
include/hw: Do not include "hw/registerfields.h" in headers that don't need it
authorThomas Huth <thuth@redhat.com>
Fri, 10 Feb 2023 11:23:15 +0000 (12:23 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Feb 2023 08:02:42 +0000 (09:02 +0100)
Include "hw/registerfields.h" in the .c files instead (if needed).

Message-Id: <20230210112315.1116966-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/char/ibex_uart.c
hw/ssi/ibex_spi_host.c
include/hw/arm/smmuv3.h
include/hw/char/ibex_uart.h
include/hw/ssi/ibex_spi_host.h

index e58181fcf429323d6b2b444864cb59ca9c9bc1e0..f70adb530819bc30dbf701cbcd8eddf208ceebd1 100644 (file)
@@ -31,6 +31,7 @@
 #include "hw/qdev-clock.h"
 #include "hw/qdev-properties.h"
 #include "hw/qdev-properties-system.h"
+#include "hw/registerfields.h"
 #include "migration/vmstate.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index 57df462e3ca63c3ca8381c67a35915455d4f7408..1ee7d88c22678e9b096d2849e0fc1586b690f276 100644 (file)
@@ -26,6 +26,7 @@
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
+#include "hw/registerfields.h"
 #include "hw/ssi/ibex_spi_host.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
index f1921fdf9e722f221f8b06bd0a1975cb6a242cb0..b6dd08752646c45f84775ad00c8432ea3a144440 100644 (file)
@@ -20,7 +20,6 @@
 #define HW_ARM_SMMUV3_H
 
 #include "hw/arm/smmu-common.h"
-#include "hw/registerfields.h"
 #include "qom/object.h"
 
 #define TYPE_SMMUV3_IOMMU_MEMORY_REGION "smmuv3-iommu-memory-region"
index a39985516a4425aa3c1b8eebddfbefa1daf06e75..9deadf223bfb3904d7fee25be94a8370f33af4f6 100644 (file)
@@ -26,7 +26,6 @@
 #define HW_IBEX_UART_H
 
 #include "hw/sysbus.h"
-#include "hw/registerfields.h"
 #include "chardev/char-fe.h"
 #include "qemu/timer.h"
 #include "qom/object.h"
index 1f6d07776605d8f0104b45be47788c8a18572bd7..8089cc1c31b466d2cef1ae146077ddc037678030 100644 (file)
@@ -32,7 +32,6 @@
 #include "hw/ssi/ssi.h"
 #include "qemu/fifo8.h"
 #include "qom/object.h"
-#include "hw/registerfields.h"
 #include "qemu/timer.h"
 
 #define TYPE_IBEX_SPI_HOST "ibex-spi"