[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/20] hw/pci-host/q35: Remove unused includes
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 19/20] hw/pci-host/q35: Remove unused includes |
Date: |
Mon, 14 Oct 2019 16:22:45 +0200 |
Only q35.c requires declarations from "hw/i386/pc.h", move it there.
Remove all the includes not used by "q35.h".
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/pci-host/q35.c | 1 +
include/hw/pci-host/q35.h | 7 -------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index 158d270b9f..918843d373 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -29,6 +29,7 @@
*/
#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
#include "hw/pci-host/q35.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h
index 79a88d67b1..534d90dbaf 100644
--- a/include/hw/pci-host/q35.h
+++ b/include/hw/pci-host/q35.h
@@ -22,16 +22,9 @@
#ifndef HW_Q35_H
#define HW_Q35_H
-#include "hw/isa/isa.h"
-#include "hw/sysbus.h"
-#include "hw/i386/pc.h"
-#include "hw/isa/apm.h"
#include "hw/pci/pci.h"
#include "hw/pci/pcie_host.h"
-#include "hw/acpi/acpi.h"
-#include "hw/acpi/ich9.h"
#include "hw/pci-host/pam.h"
-#include "hw/i386/intel_iommu.h"
#include "qemu/range.h"
#define TYPE_Q35_HOST_DEVICE "q35-pcihost"
--
2.21.0
- [PATCH 09/20] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, (continued)
- [PATCH 09/20] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 10/20] hw/alpha/dp264: Include "net/net.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 11/20] hw/hppa/machine: Include "net/net.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 12/20] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 13/20] hw/timer/hpet: Include "exec/address-spaces.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 14/20] hw/pci-host/q35: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 15/20] hw/i2c/smbus_ich9: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 16/20] hw/pci-host/piix: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 17/20] hw/acpi: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 18/20] hw/i386: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 19/20] hw/pci-host/q35: Remove unused includes,
Philippe Mathieu-Daudé <=
- [PATCH 20/20] hw/i386/pc: Clean up includes, Philippe Mathieu-Daudé, 2019/10/14
- Re: [PATCH 00/20] hw: Clean up hw/i386 headers (and few alpha/hppa), John Snow, 2019/10/14
- Re: [PATCH 00/20] hw: Clean up hw/i386 headers (and few alpha/hppa), Philippe Mathieu-Daudé, 2019/10/26