hw/ide: Remove now unneded #include "hw/pci/pci.h" from hw/ide.h
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 17 Mar 2020 15:05:37 +0000 (16:05 +0100)
committerJohn Snow <jsnow@redhat.com>
Tue, 17 Mar 2020 16:22:36 +0000 (12:22 -0400)
After previous patches we don't need hw/pci/pci.h any more in
hw/ide.h. Some files depended on implicit inclusion by this header
which are also fixed up here.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 444a5e34331bf1f7880541b8d46e0353f470f5a6.1584457537.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/ahci_internal.h
include/hw/ide.h
include/hw/ide/pci.h
include/hw/misc/macio/macio.h

index 73424516daf27f875aba856c52178c4925e476dd..bab0459774ed3392c8ac34721c7e386d89f4c706 100644 (file)
@@ -27,6 +27,7 @@
 #include "hw/ide/ahci.h"
 #include "hw/ide/internal.h"
 #include "hw/sysbus.h"
+#include "hw/pci/pci.h"
 
 #define AHCI_MEM_BAR_SIZE         0x1000
 #define AHCI_MAX_PORTS            32
index 21bd8f23f1c06349fd16c8c54b4d62949ce7a426..d52c211f32dac06225dfd8ee44689f2447c50793 100644 (file)
@@ -2,7 +2,6 @@
 #define HW_IDE_H
 
 #include "hw/isa/isa.h"
-#include "hw/pci/pci.h"
 #include "exec/memory.h"
 
 #define MAX_IDE_DEVS   2
index a9f2c33e68b180d6e34ffa5e1b1e64debd5ed5d9..98ffa7dfcd60d06864b3be31ea079940f5c2490b 100644 (file)
@@ -2,6 +2,7 @@
 #define HW_IDE_PCI_H
 
 #include "hw/ide/internal.h"
+#include "hw/pci/pci.h"
 
 #define BM_STATUS_DMAING 0x01
 #define BM_STATUS_ERROR  0x02
index 070a694eb536a373079f59e2e78f758a4cf8e78b..87335a991c57cd5ef861327871d65c6b6ead5cee 100644 (file)
@@ -27,6 +27,7 @@
 #define MACIO_H
 
 #include "hw/char/escc.h"
+#include "hw/pci/pci.h"
 #include "hw/ide/internal.h"
 #include "hw/intc/heathrow_pic.h"
 #include "hw/misc/macio/cuda.h"