On Sun, 13 Sept 2026 at 19:17, Strahinja Jankovic
<[email protected]> wrote:
>
> This patch implements Allwinner A10 GPIO peripheral emulation.
>
> The emulation focuses on input/output and interrupt functionality,
> whereas the drive and pull up/down functionality is not emulated.
>
> Signed-off-by: Strahinja Jankovic <[email protected]>
> +static inline void allwinner_gpio_update_all_output_lines(AWGPIOState *s)
> +{
> + for (int port = 0; port < AW_GPIO_PORTS_NUM; port++) {
> + port_update_output_lines(s, port);
> + }
> +}
This doesn't compile on clang because this function has no callers:
../../hw/gpio/allwinner-gpio.c:257:20: error: unused function
'allwinner_gpio_update_all_output_lines' [-Werror,-Wunused-function]
257 | static inline void
allwinner_gpio_update_all_output_lines(AWGPIOState *s)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Should it be being called somewhere, or is it just a leftover
from an earlier revision of the series?
thanks
-- PMM