diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-15 15:38:19 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:02 +0100 |
commit | dc8d6cf2033c813ade9863a926f2d71a22edd249 (patch) | |
tree | 198ca8472ae6b0b6474358beecf6e90b058e9fca /include | |
parent | e5bf2779a1feafa85adae9a8ba22cbb54af00c85 (diff) | |
download | qemu-dc8d6cf2033c813ade9863a926f2d71a22edd249.zip qemu-dc8d6cf2033c813ade9863a926f2d71a22edd249.tar.gz qemu-dc8d6cf2033c813ade9863a926f2d71a22edd249.tar.bz2 |
hw/isa: Rename isa_get_dma() -> isa_bus_get_dma()
isa_get_dma() returns a DMA channel handler from an ISABus.
To emphasize this, rename it as isa_bus_get_dma().
Mechanical change using:
$ sed -i -e 's/isa_get_dma/isa_bus_get_dma/g' \
$(git grep -l isa_get_dma)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230215161641.32663-2-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/isa/isa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h index eb920aa..3a60f6a 100644 --- a/include/hw/isa/isa.h +++ b/include/hw/isa/isa.h @@ -71,7 +71,7 @@ ISABus *isa_bus_new(DeviceState *dev, MemoryRegion *address_space, MemoryRegion *address_space_io, Error **errp); void isa_bus_register_input_irqs(ISABus *bus, qemu_irq *irqs_in); void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16); -IsaDma *isa_get_dma(ISABus *bus, int nchan); +IsaDma *isa_bus_get_dma(ISABus *bus, int nchan); ISADevice *isa_new(const char *name); ISADevice *isa_try_new(const char *name); bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp); |