hw/qdev: Correct qdev_init_gpio_out_named() documentation
qdev_init_gpio_out_named() is described as qdev_init_gpio_out(), and referring to itself in an endless loop, which is confusing. Fix. Reported-by: Yanan Wang <wangyanan55@huawei.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Message-Id: <20211218130437.1516929-3-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
694804ed7b
commit
14b0375b39
@ -621,7 +621,7 @@ void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handler handler, int n);
|
||||
void qdev_init_gpio_out(DeviceState *dev, qemu_irq *pins, int n);
|
||||
|
||||
/**
|
||||
* qdev_init_gpio_out: create an array of named output GPIO lines
|
||||
* qdev_init_gpio_out_named: create an array of named output GPIO lines
|
||||
* @dev: Device to create output GPIOs for
|
||||
* @pins: Pointer to qemu_irq or qemu_irq array for the GPIO lines
|
||||
* @name: Name to give this array of GPIO lines
|
||||
|
Loading…
Reference in New Issue
Block a user