diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-01-13 10:56:17 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-06 12:33:01 +0200 |
commit | 7a49bfde01961dac9efb734f031f3e77ce537f6d (patch) | |
tree | 7b3b16e6f6a3469fb413d0ab0a98ba9d81703c77 /arch/arm | |
parent | d1143d50073cff1f6dcd4bf62a8eb3852770ae4d (diff) | |
download | linux-stable-7a49bfde01961dac9efb734f031f3e77ce537f6d.tar.gz linux-stable-7a49bfde01961dac9efb734f031f3e77ce537f6d.tar.bz2 linux-stable-7a49bfde01961dac9efb734f031f3e77ce537f6d.zip |
ARM: s3c64xx: Use the right include
The file s3c64xx.c is including <linux/gpio.h> despite using no
symbols from the file, however it needs it to implicitly bring in
of_have_populated_dt() so include <linux/of.h> explicitly instead.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c/s3c64xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c/s3c64xx.c b/arch/arm/mach-s3c/s3c64xx.c index e97bd59083a8..9f9717874d67 100644 --- a/arch/arm/mach-s3c/s3c64xx.c +++ b/arch/arm/mach-s3c/s3c64xx.c @@ -21,13 +21,13 @@ #include <linux/ioport.h> #include <linux/serial_core.h> #include <linux/serial_s3c.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/reboot.h> #include <linux/io.h> #include <linux/clk/samsung.h> #include <linux/dma-mapping.h> #include <linux/irq.h> -#include <linux/gpio.h> #include <linux/irqchip/arm-vic.h> #include <clocksource/samsung_pwm.h> |