hw/ide: Remove last two uses of ide/internal.h outside of hw/ide
PATCH 1/1 hw/ide: Remove last two uses of ide/internal.h outside of hw/ide
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.
---
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%)hw/arm/sbsa-ref.c +1 -1
@@ -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" #include "hw/ide/ahci-sysbus.h" #include "hw/intc/arm_gicv3_common.h"
hw/ide/internal.h renamed from include/hw/ide/internal.h +0 -0
include/hw/misc/macio/macio.h +1 -1
@@ -28,7 +28,7 @@#include "hw/char/escc.h" #include "hw/pci/pci_device.h" -#include "hw/ide/internal.h" +#include "hw/ide/ide-bus.h" #include "hw/intc/heathrow_pic.h" #include "hw/misc/macio/cuda.h" #include "hw/misc/macio/gpio.h"
Signature · 1 line
2.30.9
Quoted 4 lines · BALATON Zoltan
Remove last two includes of
hw/ide/intarnal.houtside of hw/ide and replace them with newly added public header to allow movinginternal.hinto hw/ide to really stop exposing it.
Quoted 8 lines
Fixes a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)Signed-off-by BALATON Zoltan <[email protected]>--- 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%)
Quoted 35 lines · BALATON Zoltan
Remove last two includes of
hw/ide/intarnal.houtside of hw/ide and replace them with newly added public header to allow movinginternal.hinto hw/ide to really stop exposing it.Fixes a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)Signed-off-by BALATON Zoltan <[email protected]>--- 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%)hw/arm/sbsa-ref.c +1
-1@@ -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" #include "hw/ide/ahci-sysbus.h" #include "hw/intc/arm_gicv3_common.h" hw/ide/internal.h renamed from include/hw/ide/internal.h +0
-0include/hw/misc/macio/macio.h +0
-0
include/hw/misc/macio/macio.h line 34
Quoted 8 lines
include/hw/misc/macio/macio.h +1
-1@@ -28,7 +28,7 @@#include "hw/char/escc.h" #include "hw/pci/pci_device.h" -#include "hw/ide/internal.h" +#include "hw/ide/ide-bus.h" #include "hw/intc/heathrow_pic.h" #include "hw/misc/macio/cuda.h" #include "hw/misc/macio/gpio.h"
Oh, I was sure that I got them all ... thanks for double checking!
Quoted 18 lines · BALATON Zoltan
Remove last two includes of
hw/ide/intarnal.houtside of hw/ide and replace them with newly added public header to allow movinginternal.hinto hw/ide to really stop exposing it.Fixes a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)Signed-off-by BALATON Zoltan <[email protected]>--- 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%)hw/arm/sbsa-ref.c +0
-0
hw/arm/sbsa-ref.c line 40
Quoted 6 lines
hw/arm/sbsa-ref.c +1
-1@@ -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 ^?
Quoted 14 lines · Philippe Mathieu-Daudé
Quoted 13 lines · BALATON Zoltan
Remove last two includes of
hw/ide/intarnal.houtside of hw/ide and replace them with newly added public header to allow movinginternal.hinto hw/ide to really stop exposing it.Fixes a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)Signed-off-by BALATON Zoltan <[email protected]>--- 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%)
Quoted 13 lines
hw/arm/sbsa-ref.c line 40
Quoted 11 lines
hw/arm/sbsa-ref.c +1
-1@@ -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
Quoted 29 lines · BALATON Zoltan
Quoted 14 lines · Philippe Mathieu-Daudé
Quoted 13 lines · BALATON Zoltan
Remove last two includes of
hw/ide/intarnal.houtside of hw/ide and replace them with newly added public header to allow movinginternal.hinto hw/ide to really stop exposing it.Fixes a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)Signed-off-by BALATON Zoltan <[email protected]>---
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%)Quoted 13 lines
hw/arm/sbsa-ref.c line 40
Quoted 11 lines
hw/arm/sbsa-ref.c +1
-1@@ -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 ^?
Quoted 1 line
The
ahci_internal.his in hw/ide not ininclude/hw/ideso how does that even work? I don't care about AHCI so not interested to anything about that personally.
No worries, done:
https://lore.kernel.org/qemu-devel/[email protected]/
Quoted 3 lines
Regards,
BALATON Zoltan