mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()
ide_create_drive() operates on a IDEBus; rename it as ide_bus_create_drive() to emphasize its first argument is a IDEBus. Mechanical change using: $ sed -i -e 's/ide_create_drive/ide_bus_create_drive/g' \ $(git grep -wl ide_create_drive) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230215112712.23110-12-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0cfe719d1f
commit
b6a5ab27fb
9 changed files with 11 additions and 11 deletions
|
@ -645,7 +645,7 @@ void ide_atapi_cmd_reply_end(IDEState *s);
|
|||
/* hw/ide/qdev.c */
|
||||
void ide_bus_init(IDEBus *idebus, size_t idebus_size, DeviceState *dev,
|
||||
int bus_id, int max_units);
|
||||
IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo *drive);
|
||||
IDEDevice *ide_bus_create_drive(IDEBus *bus, int unit, DriveInfo *drive);
|
||||
|
||||
int ide_handle_rw_error(IDEState *s, int error, int op);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue