]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mips: ar7: include linux/gpio/driver.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 8 Mar 2023 14:52:53 +0000 (15:52 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 Mar 2023 11:40:18 +0000 (13:40 +0200)
The change to remove the implicit gpio/driver.h include was done
after fixing all the other users, but the ar7 file still needs
the same change.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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>
arch/mips/ar7/gpio.c

index ae0e01b9438ff54d368ba48e009b021d5f59253d..4ed833b9cc2f7bbc0f6a9d84495e3a7967b9bdf5 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <linux/init.h>
 #include <linux/export.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 
 #include <asm/mach-ar7/ar7.h>