amd_iommu: avoid needless includes in header file
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 17 Oct 2017 16:44:07 +0000 (13:44 -0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Dec 2017 14:07:02 +0000 (17:07 +0300)
instead move them to the source file

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/i386/amd_iommu.c
hw/i386/amd_iommu.h

index ad8155ca4cfd3bb2f8f34319d7dcecaac23bc9b2..eeaf0e0aa8701268be3de4a595dfa95d1a61e0fd 100644 (file)
  * Cache implementation inspired by hw/i386/intel_iommu.c
  */
 #include "qemu/osdep.h"
-#include "hw/i386/amd_iommu.h"
+#include "hw/i386/pc.h"
+#include "hw/pci/msi.h"
+#include "hw/pci/pci_bus.h"
+#include "amd_iommu.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "trace.h"
index d370ae35498dddcd003a6a9de34238fada4123e3..aeef802364a5b6b28396e217d180bb8475ed06b2 100644 (file)
 
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/pci/msi.h"
-#include "hw/sysbus.h"
-#include "sysemu/dma.h"
-#include "hw/i386/pc.h"
-#include "hw/pci/pci_bus.h"
 #include "hw/i386/x86-iommu.h"
 
 /* Capability registers */