Skip to contentSkip to conversation

MIPS: Alchemy: Remove unused forward declaration

PATCH Superseded Andy Shevchenko 4 participants 10 messages May 31, 2025 – Jul 11, 2025 MIPS

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/mips/include/asm/mach-au1x00/gpio-au1000.h | 2 --
 arch/mips/include/asm/mach-au1x00/gpio-au1300.h | 1 -
 2 files changed, 3 deletions(-)
arch/mips/include/asm/mach-au1x00/gpio-au1000.h +0 -2
index d820b481ac56..e6306f6820e6 100644
@@ -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);
arch/mips/include/asm/mach-au1x00/gpio-au1300.h +0 -1
index 43d44f384f97..b12f37262cfa 100644
@@ -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.
Signature · 1 line
2.47.2
#1 lore raw

+Cc: Bart.

Quoted 2 lines · Andy Shevchenko

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

It prevents us from moving forward with the killing the GPIO legacy APIs (it's not critical at all in this case, just an inconvenience for a grep, but still...).

I think we can take it via GPIO tree if there is no reply.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 8 lines · Andy Shevchenko

+Cc: Bart.

Quoted 2 lines · Andy Shevchenko

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

This is fine with me!

Manuel

#3 lore raw
Quoted 5 lines · Manuel Lauss
Quoted 3 lines · Andy Shevchenko

+Cc: Bart.

Quoted 7 lines
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

This is fine with me!

Formal tag, please?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
In reply to Andy Shevchenko
Quoted 7 lines · Andy Shevchenko

+Cc: Bart.

Quoted 2 lines · Andy Shevchenko

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

looks good

Quoted 5 lines

It prevents us from moving forward with the killing the GPIO legacy APIs (it's not critical at all in this case, just an inconvenience for a grep, but still...).

I think we can take it via GPIO tree if there is no reply.

please do

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#5 lore raw
Quoted 10 lines · Thomas Bogendoerfer
Quoted 7 lines · Andy Shevchenko

+Cc: Bart.

Quoted 2 lines · Andy Shevchenko

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

looks good

Formal tag please?

Quoted 7 lines
Quoted 5 lines

It prevents us from moving forward with the killing the GPIO legacy APIs (it's not critical at all in this case, just an inconvenience for a grep, but still...).

I think we can take it via GPIO tree if there is no reply.

please do

Acked-by?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Acked-by
#6 lore raw
Quoted 18 lines · Andy Shevchenko
Quoted 10 lines · Thomas Bogendoerfer
Quoted 7 lines · Andy Shevchenko

+Cc: Bart.

Quoted 2 lines · Andy Shevchenko

The 'struct gpio' is not used in the code, remove unneeded forward declaration. This seems to be a leftover for a 5 years.

Any comments on this, please?

looks good

Formal tag please?

Quoted 4 lines
Quoted 4 lines

It prevents us from moving forward with the killing the GPIO legacy APIs (it's not critical at all in this case, just an inconvenience for a grep, but still...).

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I think we can take it via GPIO tree if there is no reply.

please do

Acked-by?

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#7 lore raw

Fri, Jun 13, 2025 at 04:16:57PM +0200, Thomas Bogendoerfer kirjoitti:

Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Thomas Bogendoerfer
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

...

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I think we can take it via GPIO tree if there is no reply.

please do

Acked-by?

Thank you! Bart, seems we are all set to route this via GPIO tree. Do you have any objections?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#8 lore raw
Quoted 5 lines · Andy Shevchenko

Fri, Jun 13, 2025 at 04:16:57PM +0200, Thomas Bogendoerfer kirjoitti:

Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Thomas Bogendoerfer
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

...

Quoted 10 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I think we can take it via GPIO tree if there is no reply.

please do

Acked-by?

Thank you! Bart, seems we are all set to route this via GPIO tree. Do you have any objections?

Bart, can you apply this one, please? Or do you have objections?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#9 lore raw
Quoted 6 lines · Andy Shevchenko
Quoted 5 lines · Andy Shevchenko

Fri, Jun 13, 2025 at 04:16:57PM +0200, Thomas Bogendoerfer kirjoitti:

Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Thomas Bogendoerfer
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

...

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 1 line

I think we can take it via GPIO tree if there is no reply.

please do

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Acked-by?

Thank you! Bart, seems we are all set to route this via GPIO tree. Do you have any objections?

Bart, can you apply this one, please? Or do you have objections?

Bart, you are pretty much active in the mailing list, but ignoring this thread. Can you, please, shed a light on what's going on or what should I do?

Signature · 2 lines
With Best Regards,
Andy Shevchenko