]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw: Remove superfluous includes of hw/hw.h
authorThomas Huth <thuth@redhat.com>
Fri, 26 Mar 2021 15:18:48 +0000 (16:18 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 2 May 2021 15:24:50 +0000 (17:24 +0200)
The include/hw/hw.h header only has a prototype for hw_error(),
so it does not make sense to include this in files that do not
use this function.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210326151848.2217216-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
25 files changed:
hw/arm/musicpal.c
hw/char/sifive_uart.c
hw/display/next-fb.c
hw/dma/sifive_pdma.c
hw/dma/xlnx_csu_dma.c
hw/hppa/lasi.c
hw/input/lasips2.c
hw/m68k/mcf_intc.c
hw/m68k/next-kbd.c
hw/m68k/q800.c
hw/m68k/virt.c
hw/misc/mchp_pfsoc_dmc.c
hw/misc/mchp_pfsoc_ioscb.c
hw/misc/mchp_pfsoc_sysreg.c
hw/misc/sifive_e_prci.c
hw/misc/sifive_test.c
hw/rx/rx-gdbsim.c
hw/rx/rx62n.c
hw/vfio/pci-quirks.c
include/hw/char/avr_usart.h
include/hw/misc/avr_power.h
include/hw/misc/stm32f4xx_exti.h
include/hw/misc/stm32f4xx_syscfg.h
include/hw/pci-host/i440fx.h
include/hw/timer/avr_timer16.h

index 9cebece2de0b609fb1486f5f9e51d6c019343588..7d67dc72542e13c07c0b4638feb9f588af4aeecd 100644 (file)
@@ -19,7 +19,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/char/serial.h"
-#include "hw/hw.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "hw/qdev-properties.h"
index 3a00ba7f006cadb3b1520c257cc425be18afd82e..ee7adb8e3083cb85ca513ae0f293d185cecc3e2e 100644 (file)
@@ -22,7 +22,6 @@
 #include "hw/sysbus.h"
 #include "chardev/char.h"
 #include "chardev/char-fe.h"
-#include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/char/sifive_uart.h"
 
index e2d895109dbe6608f02b8b870f5efaf149c4ab2e..cc134c2d5beb6c4641b37743264a46bff1b5b8dd 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "ui/console.h"
-#include "hw/hw.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "framebuffer.h"
index e1f6fedbda7333c0aa287dc447a21404f234aa5c..9b2ac2017d9d36849e5ba7c5a3b2baee49f1b9e9 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
index 98324dadcd4cdeb79ae4c99f4ec657af57f0b44d..797b4fed8f5fc1b12d5cc98627743ee24443d42f 100644 (file)
@@ -21,7 +21,6 @@
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
index 1a8565794846f547c26e83ff6c433b890eb79a17..a8f5defcd01e22d5270886f06b24fa61a54f673c 100644 (file)
@@ -15,7 +15,6 @@
 #include "qapi/error.h"
 #include "cpu.h"
 #include "trace.h"
-#include "hw/hw.h"
 #include "hw/irq.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/runstate.h"
index 0786e57338803beb47f9e09d0e5d9bd42c05abe5..60afb94c780e54ff44fd2c2638de8d24eb269a25 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "hw/qdev-properties.h"
-#include "hw/hw.h"
 #include "hw/input/ps2.h"
 #include "hw/input/lasips2.h"
 #include "hw/sysbus.h"
index cf02f57a711773581298c2d8c436ecb28dc16122..4cd30188c0531bede6ef8abaf42c5fae8be6094c 100644 (file)
@@ -11,7 +11,6 @@
 #include "qemu/module.h"
 #include "qemu/log.h"
 #include "cpu.h"
-#include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/sysbus.h"
 #include "hw/m68k/mcf.h"
index c11b5281f19967215c6754e3035356fd399e80d2..bee40e25bca094693f3313010bdf8112126b48e2 100644 (file)
@@ -30,7 +30,6 @@
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "exec/address-spaces.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/m68k/next-cube.h"
 #include "ui/console.h"
index 4d2e866eec7f5e8b696004f1b35f809429fffb31..1c7f7aa07f07589f117f5f712ffe25738dddde7c 100644 (file)
@@ -26,7 +26,6 @@
 #include "qemu/datadir.h"
 #include "sysemu/sysemu.h"
 #include "cpu.h"
-#include "hw/hw.h"
 #include "hw/boards.h"
 #include "hw/irq.h"
 #include "hw/or-irq.h"
index e9a5d4c69b97a044de949bb818280a56ee8af44f..18e6f11041da98798e9245bb9a881912e774d671 100644 (file)
@@ -12,7 +12,6 @@
 #include "qemu-common.h"
 #include "sysemu/sysemu.h"
 #include "cpu.h"
-#include "hw/hw.h"
 #include "hw/boards.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
index 15cf3d77252c6cafab68554d9745bf1ed423d3fb..43d8e970abc0a4d10a97e7ebd33e0c21ab9c32f9 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/misc/mchp_pfsoc_dmc.h"
 
index 8b0d1cacd7efe0eae61234e8996c311d5ad82b80..f4fd55a0e5c77ebda0baed62de482843a44fcfa9 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/misc/mchp_pfsoc_ioscb.h"
 
index 248a3133455c827a352f91fe85aa102f785eef2e..89571eded53f2d1d471612995ad001b9a6619d26 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qapi/error.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/misc/mchp_pfsoc_sysreg.h"
 
index 8ec4ee4b41fc0bce9ce77362ba086496a0b1c185..a8702c6a5d44fe80ccb31dde68e25b055eb0e0da 100644 (file)
@@ -23,7 +23,6 @@
 #include "qapi/error.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
-#include "hw/hw.h"
 #include "hw/misc/sifive_e_prci.h"
 
 static uint64_t sifive_e_prci_read(void *opaque, hwaddr addr, unsigned int size)
index 2deb2072cc8e198c6788f7a34ba97f8f45fe4cdb..56df45bfe592083539cd67004600b9c3ae10af32 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/log.h"
 #include "qemu/module.h"
 #include "sysemu/runstate.h"
-#include "hw/hw.h"
 #include "hw/misc/sifive_test.h"
 
 static uint64_t sifive_test_read(void *opaque, hwaddr addr, unsigned int size)
index b1d7c2488ff332cfc3de1e39f6d4f3822ac68257..8c611b0a59ea9d98eb72c6055687c0b8cdb1e329 100644 (file)
@@ -22,7 +22,6 @@
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "cpu.h"
-#include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/loader.h"
 #include "hw/rx/rx62n.h"
index 9c34ce14de640d3a7fe75a5f9c006373f2711cdf..31ddccf2cdbbc3c4d4170adb8ee5cb263088ea72 100644 (file)
@@ -23,7 +23,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
-#include "hw/hw.h"
 #include "hw/rx/rx62n.h"
 #include "hw/loader.h"
 #include "hw/sysbus.h"
index b90cf3d37c3050d44b1c3cbf43ca87c901b69f6e..e21a6ede11400fa8cd4b934f42d7e6f5c1c4974f 100644 (file)
@@ -22,7 +22,6 @@
 #include "qapi/error.h"
 #include "qapi/visitor.h"
 #include <sys/ioctl.h>
-#include "hw/hw.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/qdev-properties.h"
 #include "pci.h"
index bb57532403674f011f91ba5688d37476c22fce25..62eaa1528efffbac8b90ccde0de1bc6614780dbc 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "hw/sysbus.h"
 #include "chardev/char-fe.h"
-#include "hw/hw.h"
 #include "qom/object.h"
 
 /* Offsets of registers. */
index 707df030b1875f1fe2a203a72b98efeb6edbb2d3..388e421aa7bacd336b7a81fdadf9c2720417da97 100644 (file)
@@ -26,7 +26,6 @@
 #define HW_MISC_AVR_POWER_H
 
 #include "hw/sysbus.h"
-#include "hw/hw.h"
 #include "qom/object.h"
 
 
index 24b6fa7724b1a693677be69497d427b40fdd0389..ea6b0097b0eb56c0504b6678d504cc1588ab6224 100644 (file)
@@ -26,7 +26,6 @@
 #define HW_STM_EXTI_H
 
 #include "hw/sysbus.h"
-#include "hw/hw.h"
 #include "qom/object.h"
 
 #define EXTI_IMR   0x00
index 8c31feccd37969f8cdbab1855e952851c975b850..6f8ca49228b64c658249afa19622254f7836bbbb 100644 (file)
@@ -26,7 +26,6 @@
 #define HW_STM_SYSCFG_H
 
 #include "hw/sysbus.h"
-#include "hw/hw.h"
 #include "qom/object.h"
 
 #define SYSCFG_MEMRMP  0x00
index 24fd53942cab0ecb2d980c8671a2f9c4f81da69b..7fcfd9485c0f918f8b640402f27de8f2724f0a45 100644 (file)
@@ -11,7 +11,6 @@
 #ifndef HW_PCI_I440FX_H
 #define HW_PCI_I440FX_H
 
-#include "hw/hw.h"
 #include "hw/pci/pci_bus.h"
 #include "hw/pci-host/pam.h"
 #include "qom/object.h"
index 053625433789719b6695fa91add96abee1c51108..a1a032a24dc8587a0b918493a8f414137f5ea44e 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "hw/hw.h"
 #include "qom/object.h"
 
 enum NextInterrupt {