]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: Alchemy: Remove unused forward declaration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2026 20:28:08 +0000 (21:28 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 13 Apr 2026 13:35:29 +0000 (15:35 +0200)
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@alpha.franken.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mach-au1x00/gpio-au1000.h
arch/mips/include/asm/mach-au1x00/gpio-au1300.h

index d820b481ac564198096328176cbb103993392994..e6306f6820e64e193b1be5e258211cca509edaa6 100644 (file)
@@ -40,8 +40,6 @@
 #define AU1000_GPIO2_INTENABLE 0x10
 #define AU1000_GPIO2_ENABLE    0x14
 
-struct gpio;
-
 static inline int au1000_gpio1_to_irq(int gpio)
 {
        return MAKE_IRQ(1, gpio - ALCHEMY_GPIO1_BASE);
index 43d44f384f974b9967c2064d5cf6fb9212e513cb..b12f37262cfa5466e8d167ca120740b47e61514e 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/io.h>
 #include <asm/mach-au1x00/au1000.h>
 
-struct gpio;
 struct gpio_chip;
 
 /* with the current GPIC design, up to 128 GPIOs are possible.