aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-15 15:38:19 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:02 +0100
commitdc8d6cf2033c813ade9863a926f2d71a22edd249 (patch)
tree198ca8472ae6b0b6474358beecf6e90b058e9fca /hw/block
parente5bf2779a1feafa85adae9a8ba22cbb54af00c85 (diff)
downloadqemu-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 'hw/block')
-rw-r--r--hw/block/fdc-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/fdc-isa.c b/hw/block/fdc-isa.c
index fee1ca6..a5f07b6 100644
--- a/hw/block/fdc-isa.c
+++ b/hw/block/fdc-isa.c
@@ -98,7 +98,7 @@ static void isabus_fdc_realize(DeviceState *dev, Error **errp)
fdctrl->dma_chann = isa->dma;
if (fdctrl->dma_chann != -1) {
IsaDmaClass *k;
- fdctrl->dma = isa_get_dma(isa_bus_from_device(isadev), isa->dma);
+ fdctrl->dma = isa_bus_get_dma(isa_bus_from_device(isadev), isa->dma);
if (!fdctrl->dma) {
error_setg(errp, "ISA controller does not support DMA");
return;