summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-07-10 23:19:47 +0200
committerGreg Ungerer <gerg@kernel.org>2026-08-11 16:17:10 +1000
commitb47eeaa48ee5f28213056a749cb02ebdcb1d42bd (patch)
tree33197a971bbf56c36c94fe0665778fc00100c336
parentab3e29ac591d69a51120b1113c65b60707ba7bd0 (diff)
downloadlinux-b47eeaa48ee5f28213056a749cb02ebdcb1d42bd.tar.gz
linux-b47eeaa48ee5f28213056a749cb02ebdcb1d42bd.zip
m68k/coldfire: replace linux/gpio.h inclusions
linux/gpio.h should no longer be used, convert these instead to linux/gpio/legacy.h for coldfire. Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Ungerer <gerg@kernel.org>
-rw-r--r--arch/m68k/coldfire/device.c2
-rw-r--r--arch/m68k/include/asm/mcfgpio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/coldfire/device.c b/arch/m68k/coldfire/device.c
index 1420bae0964f..9a0258acd998 100644
--- a/arch/m68k/coldfire/device.c
+++ b/arch/m68k/coldfire/device.c
@@ -12,7 +12,7 @@
#include <linux/init.h>
#include <linux/io.h>
#include <linux/spi/spi.h>
-#include <linux/gpio.h>
+#include <linux/gpio/legacy.h>
#include <linux/fec.h>
#include <linux/dmaengine.h>
#include <asm/traps.h>
diff --git a/arch/m68k/include/asm/mcfgpio.h b/arch/m68k/include/asm/mcfgpio.h
index 7103cfa4edb6..29726aa40eb6 100644
--- a/arch/m68k/include/asm/mcfgpio.h
+++ b/arch/m68k/include/asm/mcfgpio.h
@@ -16,7 +16,7 @@ int __mcfgpio_request(unsigned gpio);
void __mcfgpio_free(unsigned gpio);
#ifdef CONFIG_GPIOLIB
-#include <linux/gpio.h>
+#include <linux/gpio/legacy.h>
#else
/* our alternate 'gpiolib' functions */