mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/ide: Rename idebus_active_if() -> ide_bus_active_if()
idebus_active_if() operates on a IDEBus; rename it as ide_bus_active_if() to emphasize its first argument is a IDEBus. Mechanical change using: $ sed -i -e 's/idebus_active_if/ide_bus_active_if/g' \ $(git grep -l idebus_active_if) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230215112712.23110-16-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c951963043
commit
2c50207f0d
5 changed files with 17 additions and 17 deletions
|
@ -566,7 +566,7 @@ static inline uint8_t ide_dma_cmd_to_retry(uint8_t dma_cmd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline IDEState *idebus_active_if(IDEBus *bus)
|
||||
static inline IDEState *ide_bus_active_if(IDEBus *bus)
|
||||
{
|
||||
return bus->ifs + bus->unit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue