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>
This commit is contained in:
Arnd Bergmann 2026-07-10 23:19:47 +02:00 committed by Greg Ungerer
parent ab3e29ac59
commit b47eeaa48e
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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 */