aboutsummaryrefslogtreecommitdiff
path: root/hw/dma
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/dma
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/dma')
-rw-r--r--hw/dma/i82374.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c
index 34c3aaf..63734c2 100644
--- a/hw/dma/i82374.c
+++ b/hw/dma/i82374.c
@@ -125,7 +125,7 @@ static void i82374_realize(DeviceState *dev, Error **errp)
I82374State *s = I82374(dev);
ISABus *isa_bus = isa_bus_from_device(ISA_DEVICE(dev));
- if (isa_get_dma(isa_bus, 0)) {
+ if (isa_bus_get_dma(isa_bus, 0)) {
error_setg(errp, "DMA already initialized on ISA bus");
return;
}