qdev-core.h: Fix wrongly named reference to TYPE_SPLIT_IRQ
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jan 2022 17:26:55 +0000 (17:26 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 18 Jan 2022 11:32:16 +0000 (12:32 +0100)
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>
include/hw/qdev-core.h

index d19c941752030172662766304a87ee62346e3a44..92c3d65208666bd4a1bf1b673c6a60e8a27f008f 100644 (file)
@@ -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