hw/arm/sbsa-ref: Do not open-code ahci_ide_create_devs()
commit72c9d94541bc6984bf29b6cee0a05b065e6c115e
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 25 Feb 2024 17:03:15 +0000 (25 18:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:30 +0000 (27 09:37 +0100)
tree626c74c7f0c6dde86ba07b0a7c4ba205207cb4bf
parent99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c
hw/arm/sbsa-ref: Do not open-code ahci_ide_create_devs()

Use ahci_ide_create_devs() instead of open-coding it.
Not accessing AHCIDevice internals anymore allows to
remove "hw/ide/ahci_internal.h" (which isn't really a
public header).

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240226080632.9596-2-philmd@linaro.org>
hw/arm/sbsa-ref.c