summaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/board-rd88f5182.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-02-08 17:41:47 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-06 12:33:01 +0200
commita8e59744e16b9ae18fab773a0fd3b23cdf21ad75 (patch)
treefb0e2de95e525fdd26811da83bd4974050b80204 /arch/arm/mach-orion5x/board-rd88f5182.c
parentd74e316633e49f44756c23997fa071979a939405 (diff)
gpiolib: split linux/gpio/driver.h out of linux/gpio.h
Almost all gpio drivers include linux/gpio/driver.h, and other files should not rely on includes from this header. Remove the indirect include from here and include the correct headers directly from where they are used. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'arch/arm/mach-orion5x/board-rd88f5182.c')
-rw-r--r--arch/arm/mach-orion5x/board-rd88f5182.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/board-rd88f5182.c b/arch/arm/mach-orion5x/board-rd88f5182.c
index 596601367989..1c14e49a90a6 100644
--- a/arch/arm/mach-orion5x/board-rd88f5182.c
+++ b/arch/arm/mach-orion5x/board-rd88f5182.c
@@ -9,6 +9,7 @@
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/irq.h>