Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] mips: txx9: drop linux/gpio.h inclusion
@ 2026-11-24 14:34 Arnd Bergmann
  2026-11-24 14:40 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2026-11-24 14:34 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Linus Walleij, Geert Uytterhoeven,
	Bartosz Golaszewski
  Cc: Arnd Bergmann, Philippe Mathieu-Daudé, linux-mips

From: Arnd Bergmann <arnd@arndb.de>

This header is going away soon, so include the appropriate one instead.
The legacy interface is no longer needed since the conversion to a
lookup table, but the consumer interface is still used.

Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
--
This was previously part of the patch to remove the header,
but we ended up splitting that up again.
---
 arch/mips/txx9/rbtx4927/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c
index 223889c03186..fdbe2bd87979 100644
--- a/arch/mips/txx9/rbtx4927/setup.c
+++ b/arch/mips/txx9/rbtx4927/setup.c
@@ -48,7 +48,7 @@
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
 #include <linux/delay.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/gpio/machine.h>
 #include <linux/leds.h>
 #include <asm/io.h>
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-24 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
2026-11-24 14:40 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox