]> git.proxmox.com Git - mirror_qemu.git/commit
ide: Include hw/ide/internal a bit less outside hw/ide/
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:40 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commit5a720b1ed55a80672fdacf340fda0224f17146f3
treec0cb3b2a5f053c4ff8a6e881a933505634d74bac
parentca77ee28e03fb5052be01b9237b0a7cef5d90d4a
ide: Include hw/ide/internal a bit less outside hw/ide/

According to hw/ide/internal's file comment, only files in hw/ide/ are
supposed to include it.  Drag reality slightly closer to supposition.

Three includes outside hw/ide remain: hw/arm/sbsa-ref.c,
include/hw/ide/pci.h, and include/hw/misc/macio/macio.h.  Turns out
board code needs ide-internal.h to wire up IDE stuff.  More cleanup is
needed.  Left for another day.

Cc: John Snow <jsnow@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-11-armbru@redhat.com>
hw/arm/allwinner-a10.c
hw/arm/cubieboard.c
hw/arm/xlnx-zynqmp.c
hw/ide/ahci_internal.h
hw/ppc/mac.h
include/hw/arm/allwinner-a10.h
include/hw/arm/xlnx-zynqmp.h
include/hw/misc/mos6522.h