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 /hw/audio/cs4231a.c | |
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 'hw/audio/cs4231a.c')
-rw-r--r-- | hw/audio/cs4231a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/cs4231a.c b/hw/audio/cs4231a.c index 7f17a72..ec066fc 100644 --- a/hw/audio/cs4231a.c +++ b/hw/audio/cs4231a.c @@ -671,7 +671,7 @@ static void cs4231a_realizefn (DeviceState *dev, Error **errp) CSState *s = CS4231A (dev); IsaDmaClass *k; - s->isa_dma = isa_get_dma(isa_bus_from_device(d), s->dma); + s->isa_dma = isa_bus_get_dma(isa_bus_from_device(d), s->dma); if (!s->isa_dma) { error_setg(errp, "ISA controller does not support DMA"); return; |