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>
This commit is contained in:
parent
f74c6177bb
commit
40e074a509
@ -1937,7 +1937,6 @@ IDE
|
|||||||
M: John Snow <jsnow@redhat.com>
|
M: John Snow <jsnow@redhat.com>
|
||||||
L: qemu-block@nongnu.org
|
L: qemu-block@nongnu.org
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
F: include/hw/ide.h
|
|
||||||
F: include/hw/ide/
|
F: include/hw/ide/
|
||||||
F: hw/ide/
|
F: hw/ide/
|
||||||
F: hw/block/block.c
|
F: hw/block/block.c
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#ifndef HW_IDE_H
|
|
||||||
#define HW_IDE_H
|
|
||||||
|
|
||||||
#include "exec/memory.h"
|
|
||||||
|
|
||||||
/* ide/core.c */
|
|
||||||
void ide_drive_get(DriveInfo **hd, int max_bus);
|
|
||||||
|
|
||||||
#endif /* HW_IDE_H */
|
|
@ -179,4 +179,6 @@ typedef struct IDEDrive {
|
|||||||
|
|
||||||
void ide_dev_initfn(IDEDevice *dev, IDEDriveKind kind, Error **errp);
|
void ide_dev_initfn(IDEDevice *dev, IDEDriveKind kind, Error **errp);
|
||||||
|
|
||||||
|
void ide_drive_get(DriveInfo **hd, int max_bus);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
/*
|
/*
|
||||||
* QEMU IDE Emulation -- internal header file
|
* QEMU IDE Emulation -- internal header file
|
||||||
* only files in hw/ide/ are supposed to include this file.
|
* only files in hw/ide/ are supposed to include this file.
|
||||||
* non-internal declarations are in hw/ide.h
|
* non-internal declarations are in hw/include/ide-*.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "hw/ide.h"
|
|
||||||
#include "hw/ide/ide-bus.h"
|
#include "hw/ide/ide-bus.h"
|
||||||
|
|
||||||
/* debug IDE devices */
|
/* debug IDE devices */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user