All of lore.kernel.org
 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
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2026-12-01 20:41 UTC | newest]

Thread overview: 5+ 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
2026-11-26 12:07 ` Philippe Mathieu-Daudé
2026-11-26 12:33 ` Geert Uytterhoeven
2026-12-01 20:41 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.