diff options
| author | Thomas Huth <thuth@redhat.com> | 2024-02-20 09:55:05 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-22 12:47:40 +0100 |
| commit | a11f439a0ea99bc6bca371260a711ab940013b8f (patch) | |
| tree | de3d8998fdba8acde4e2f7156e0e0536dea6a7ca /hw/ide/pci.c | |
| parent | 40e074a50964844fab23f7e753e9153b2b1f7b3a (diff) | |
| download | focaccia-qemu-a11f439a0ea99bc6bca371260a711ab940013b8f.tar.gz focaccia-qemu-a11f439a0ea99bc6bca371260a711ab940013b8f.zip | |
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>
Diffstat (limited to 'hw/ide/pci.c')
| -rw-r--r-- | hw/ide/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/pci.c b/hw/ide/pci.c index ca85d8474c..73efeec7f4 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -30,6 +30,7 @@ #include "sysemu/dma.h" #include "qemu/error-report.h" #include "qemu/module.h" +#include "hw/ide/internal.h" #include "hw/ide/pci.h" #include "trace.h" |