]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
Do not include hw/hw.h if it is not necessary
authorThomas Huth <thuth@redhat.com>
Thu, 16 Feb 2023 14:29:15 +0000 (15:29 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:38 +0000 (09:15 +0100)
hw.h only contains the protoype of one function nowadays, hw_error(),
so all files that do not use this function anymore also do not need
to include this header anymore.

Message-Id: <20230216142915.304481-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/pci-host/mv64361.c
hw/ppc/pegasos2.c
hw/sensor/dps310.c
include/hw/ssi/ibex_spi_host.h
include/hw/tricore/tricore_testdevice.h

index f43f33fbd939df4fd376597517bc519dd4054d00..298564f1f5a448119bd07bde42b7d1801bc45535 100644 (file)
@@ -11,7 +11,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/pci/pci_device.h"
 #include "hw/pci/pci_host.h"
index a9563f4fb2a4f3c6680ffce65b1619647998b7dc..7cc375df05d13cad346b231a1f9b58ad1be6a86f 100644 (file)
@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/sysbus.h"
 #include "hw/pci/pci_host.h"
index d60a18ac41bb4d7193da7098fc1e0769483ecba1..addee99b196bfbd404830713d51a5fce98d95220 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "qemu/osdep.h"
 #include "qemu/log.h"
-#include "hw/hw.h"
 #include "hw/i2c/i2c.h"
 #include "qapi/error.h"
 #include "qapi/visitor.h"
index 8089cc1c31b466d2cef1ae146077ddc037678030..5bd5557b9a1bd1a41f9ebeafdd1be96a9f75713c 100644 (file)
@@ -28,7 +28,6 @@
 #define IBEX_SPI_HOST_H
 
 #include "hw/sysbus.h"
-#include "hw/hw.h"
 #include "hw/ssi/ssi.h"
 #include "qemu/fifo8.h"
 #include "qom/object.h"
index 1e2b8942ac916b18eb2a9d0b33a3bddc857b84b5..8b4fe15f24aa18cab6f78b7c03a0d4f6a87dffac 100644 (file)
@@ -19,7 +19,6 @@
 #define HW_TRICORE_TESTDEVICE_H
 
 #include "hw/sysbus.h"
-#include "hw/hw.h"
 
 #define TYPE_TRICORE_TESTDEVICE "tricore_testdevice"
 #define TRICORE_TESTDEVICE(obj) \