hw/ide: Stop exposing internal.h to non-IDE files
commita11f439a0ea99bc6bca371260a711ab940013b8f
authorThomas Huth <thuth@redhat.com>
Tue, 20 Feb 2024 08:55:05 +0000 (20 09:55 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:40 +0000 (22 12:47 +0100)
treede3d8998fdba8acde4e2f7156e0e0536dea6a7ca
parent40e074a50964844fab23f7e753e9153b2b1f7b3a
hw/ide: Stop exposing internal.h to non-IDE files

include/hw/ide/internal.h is currently included by include/hw/ide/pci.h
and thus exposed to a lot of files that are not part of the IDE subsystem.
Stop including internal.h there and use the appropriate new headers
ide-bus.h and ide-dma.h instead.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20240220085505.30255-8-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc.c
hw/ide/cmd646.c
hw/ide/pci.c
hw/ide/piix.c
hw/ide/sii3112.c
hw/ide/via.c
include/hw/ide/pci.h