Re: [PATCH v3 1/1] MIPS: Alchemy: Remove unused forward declaration

From: Bartosz Golaszewski

Date: Wed Jul 15 2026 - 11:22:48 EST


On Wed, 15 Jul 2026 17:03:48 +0200, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> said:
> The 'struct gpio' is not used in the code, remove unneeded forward declaration.
> This seems to be a leftover for a 5 years.
>
> Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
>
> Cc: Bartosz Golaszewski <brgl@xxxxxxxxxx>
>
> This patch is floating around for more than a year without anybody
> taking it! Please, please, do something about this. Since it has
> an ack by MIPS maintainer, Bart, can you just pick this up?
>
> arch/mips/include/asm/mach-au1x00/gpio-au1300.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/mips/include/asm/mach-au1x00/gpio-au1300.h b/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> index 912534ecb1a4..c92d3c2a5ef8 100644
> --- a/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> +++ b/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> @@ -12,7 +12,6 @@
> #include <asm/io.h>
> #include <asm/mach-au1x00/au1000.h>
>
> -struct gpio;
> struct gpio_chip;
> struct software_node;
>
> --
> 2.50.1
>
>

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>