]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
trivial: Do not include pci.h if it is not necessary
authorThomas Huth <thuth@redhat.com>
Mon, 30 Apr 2018 07:32:19 +0000 (09:32 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 20 May 2018 05:40:00 +0000 (08:40 +0300)
There is no need to include pci.h in these files.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/hw/ppc/ppc4xx.h
include/hw/virtio/virtio-balloon.h
include/hw/virtio/virtio-gpu.h

index cb0bb55cec0b10ae0c213e4eeb53181a2f84c4af..3a2a04c8ce65a98bd3f18c69b45aeae48ca6e3c6 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef PPC4XX_H
 #define PPC4XX_H
 
-#include "hw/pci/pci.h"
-
 /* PowerPC 4xx core initialization */
 PowerPCCPU *ppc4xx_init(const char *cpu_model,
                         clk_setup_t *cpu_clk, clk_setup_t *tb_clk,
index 1ea13bd6a48d3a7aedb3d199e98e7ed39c782191..e0df3528c8ee2b174bf0906f12e472b12b35678d 100644 (file)
@@ -17,7 +17,6 @@
 
 #include "standard-headers/linux/virtio_balloon.h"
 #include "hw/virtio/virtio.h"
-#include "hw/pci/pci.h"
 
 #define TYPE_VIRTIO_BALLOON "virtio-balloon-device"
 #define VIRTIO_BALLOON(obj) \
index 22ac3c2d0eba6321a2c3af8884b2e3766b63a07b..79bb3fb3ddde9cbc061b1d965ac48856a9eba96a 100644 (file)
@@ -18,7 +18,6 @@
 #include "ui/qemu-pixman.h"
 #include "ui/console.h"
 #include "hw/virtio/virtio.h"
-#include "hw/pci/pci.h"
 #include "qemu/log.h"
 
 #include "standard-headers/linux/virtio_gpu.h"