From 0b8fa32f551e863bb548a11394239239270dd3dc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 23 May 2019 16:35:07 +0200 Subject: Include qemu/module.h where needed, drop it from qemu-common.h Signed-off-by: Markus Armbruster Message-Id: <20190523143508.25387-4-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c; ui/cocoa.m fixed up] --- hw/ide/ahci-allwinner.c | 1 + hw/ide/ahci.c | 1 + hw/ide/cmd646.c | 2 ++ hw/ide/ich.c | 1 + hw/ide/isa.c | 2 ++ hw/ide/macio.c | 2 ++ hw/ide/microdrive.c | 2 ++ hw/ide/mmio.c | 2 ++ hw/ide/pci.c | 2 ++ hw/ide/piix.c | 1 + hw/ide/qdev.c | 2 ++ hw/ide/sii3112.c | 1 + hw/ide/via.c | 2 ++ 13 files changed, 21 insertions(+) (limited to 'hw/ide') diff --git a/hw/ide/ahci-allwinner.c b/hw/ide/ahci-allwinner.c index f98e6cb..de08d87 100644 --- a/hw/ide/ahci-allwinner.c +++ b/hw/ide/ahci-allwinner.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" #include "ahci_internal.h" diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index d700ca9..00ba422 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -28,6 +28,7 @@ #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 5a56791..ed23aab 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" diff --git a/hw/ide/ich.c b/hw/ide/ich.c index 51c935a..c1ba927 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -64,6 +64,7 @@ #include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "sysemu/dma.h" #include "hw/ide/pci.h" diff --git a/hw/ide/isa.c b/hw/ide/isa.c index 028bd61..4b5784e 100644 --- a/hw/ide/isa.c +++ b/hw/ide/isa.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/macio.c b/hw/ide/macio.c index bab8c45..54571fe 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -22,10 +22,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/ppc/mac_dbdma.h" +#include "qemu/module.h" #include "hw/misc/macio/macio.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" diff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c index 34bb98d..92ee6e0 100644 --- a/hw/ide/microdrive.c +++ b/hw/ide/microdrive.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pcmcia.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/mmio.c b/hw/ide/mmio.c index 42fcf13..70a5801 100644 --- a/hw/ide/mmio.c +++ b/hw/ide/mmio.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 942613a..4c6fb9a 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -22,11 +22,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "sysemu/dma.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/ide/pci.h" #include "trace.h" diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 885c16e..b97e555 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/block-backend.h" #include "sysemu/sysemu.h" #include "sysemu/blockdev.h" diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index 360cd20..9d85027 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -16,11 +16,13 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "sysemu/dma.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/ide/internal.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c index 59db09c..d7590d4 100644 --- a/hw/ide/sii3112.c +++ b/hw/ide/sii3112.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/ide/pci.h" +#include "qemu/module.h" #include "trace.h" #define TYPE_SII3112_PCI "sii3112" diff --git a/hw/ide/via.c b/hw/ide/via.c index ac93852..c3bda90 100644 --- a/hw/ide/via.c +++ b/hw/ide/via.c @@ -23,9 +23,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" -- cgit v1.1