summary refs log tree commit diff stats
path: root/include/hw/ide/ide-dev.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-02-20 09:55:04 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-22 12:47:40 +0100
commit40e074a50964844fab23f7e753e9153b2b1f7b3a (patch)
tree9ecfc49f61c696850155b5e7c37c15cedbad8723 /include/hw/ide/ide-dev.h
parentf74c6177bb9ae5763a123e1e9dbcda1405e03032 (diff)
downloadfocaccia-qemu-40e074a50964844fab23f7e753e9153b2b1f7b3a.tar.gz
focaccia-qemu-40e074a50964844fab23f7e753e9153b2b1f7b3a.zip
hw/ide: Remove the include/hw/ide.h legacy file
There was only one prototype left in this legacy file. Move it to
ide-dev.h to finally get rid of it.

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-7-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/ide/ide-dev.h')
-rw-r--r--include/hw/ide/ide-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ide/ide-dev.h b/include/hw/ide/ide-dev.h
index 1f62e58ebc..708cc0fda3 100644
--- a/include/hw/ide/ide-dev.h
+++ b/include/hw/ide/ide-dev.h
@@ -179,4 +179,6 @@ typedef struct IDEDrive {
 
 void ide_dev_initfn(IDEDevice *dev, IDEDriveKind kind, Error **errp);
 
+void ide_drive_get(DriveInfo **hd, int max_bus);
+
 #endif