qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/ide: Remove last two uses of ide/internal.h outside of hw


From: BALATON Zoltan
Subject: Re: [PATCH] hw/ide: Remove last two uses of ide/internal.h outside of hw/ide
Date: Sun, 25 Feb 2024 18:08:42 +0100 (CET)

On Sun, 25 Feb 2024, Philippe Mathieu-Daudé wrote:
On 23/2/24 15:26, BALATON Zoltan wrote:
Remove last two includes of hw/ide/intarnal.h outside of hw/ide and
replace them with newly added public header to allow moving internal.h
into hw/ide to really stop exposing it.

Fixes: a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
  hw/arm/sbsa-ref.c                 | 2 +-
  {include/hw => hw}/ide/internal.h | 0
  include/hw/misc/macio/macio.h     | 2 +-
  3 files changed, 2 insertions(+), 2 deletions(-)
  rename {include/hw => hw}/ide/internal.h (100%)

diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 5d3a574664..f027622a75 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -36,7 +36,7 @@
  #include "hw/arm/smmuv3.h"
  #include "hw/block/flash.h"
  #include "hw/boards.h"
-#include "hw/ide/internal.h"
+#include "hw/ide/ide-bus.h"
  #include "hw/ide/ahci_internal.h"

Unrelated, but what about this one ^?

The ahci_internal.h is in hw/ide not in include/hw/ide so how does that even work? I don't care about AHCI so not interested to anything about that personally.

Regards,
BALATON Zoltan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]