summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-02-08 18:37:22 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-06 13:33:01 +0300
commiteccb7a00613c804ec7244676090bf6ee43a23da2 (patch)
tree71def7ff575350c7f14e638e09de74f4dce95d97 /arch/m68k
parent94d20f7d674d589e94aea77e2cbe37fc58541d04 (diff)
downloadlinux-eccb7a00613c804ec7244676090bf6ee43a23da2.tar.xz
gpiolib: remove asm-generic/gpio.h
The asm-generic/gpio.h file is now always included when using gpiolib, so just move its contents into linux/gpio.h with a few minor simplifications. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/mcfgpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/mcfgpio.h b/arch/m68k/include/asm/mcfgpio.h
index 27f32cc81da6..2cefe8445980 100644
--- a/arch/m68k/include/asm/mcfgpio.h
+++ b/arch/m68k/include/asm/mcfgpio.h
@@ -9,7 +9,7 @@
#define mcfgpio_h
#ifdef CONFIG_GPIOLIB
-#include <asm-generic/gpio.h>
+#include <linux/gpio.h>
#else
int __mcfgpio_get_value(unsigned gpio);