diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-01-11 17:26:55 +0000 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-18 12:32:16 +0100 |
commit | 5df69ab89527618744661d5a45ed85ca3cc7bceb (patch) | |
tree | 879e49665f2b5dd4b0b6fdd43489a0265af6a91c | |
parent | 2a0c51366985890e3bf6f41a48f3cb2dfe2f153e (diff) | |
download | qemu-5df69ab89527618744661d5a45ed85ca3cc7bceb.zip qemu-5df69ab89527618744661d5a45ed85ca3cc7bceb.tar.gz qemu-5df69ab89527618744661d5a45ed85ca3cc7bceb.tar.bz2 |
qdev-core.h: Fix wrongly named reference to TYPE_SPLIT_IRQ
Fix a comment in qdev-core.h where we incorrectly referred
to TYPE_IRQ_SPLIT when we meant TYPE_SPLIT_IRQ.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220111172655.3546766-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r-- | include/hw/qdev-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index d19c941..92c3d65 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -493,7 +493,7 @@ qemu_irq qdev_get_gpio_in_named(DeviceState *dev, const char *name, int n); * qemu_irqs at once, or to connect multiple outbound GPIOs to the * same qemu_irq. (Warning: there is no assertion or other guard to * catch this error: the model will just not do the right thing.) - * Instead, for fan-out you can use the TYPE_IRQ_SPLIT device: connect + * Instead, for fan-out you can use the TYPE_SPLIT_IRQ device: connect * a device's outbound GPIO to the splitter's input, and connect each * of the splitter's outputs to a different device. For fan-in you * can use the TYPE_OR_IRQ device, which is a model of a logical OR |