Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MIPS: Alchemy: Remove unused forward declaration

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>

authored by

Andy Shevchenko and committed by
Thomas Bogendoerfer
d1d0aa62 5152a7d4

-3
-2
arch/mips/include/asm/mach-au1x00/gpio-au1000.h
··· 40 40 #define AU1000_GPIO2_INTENABLE 0x10 41 41 #define AU1000_GPIO2_ENABLE 0x14 42 42 43 - struct gpio; 44 - 45 43 static inline int au1000_gpio1_to_irq(int gpio) 46 44 { 47 45 return MAKE_IRQ(1, gpio - ALCHEMY_GPIO1_BASE);
-1
arch/mips/include/asm/mach-au1x00/gpio-au1300.h
··· 12 12 #include <asm/io.h> 13 13 #include <asm/mach-au1x00/au1000.h> 14 14 15 - struct gpio; 16 15 struct gpio_chip; 17 16 18 17 /* with the current GPIC design, up to 128 GPIOs are possible.