From: Linus Walleij Date: Tue, 7 Jan 2014 18:21:57 +0000 (+0100) Subject: ARM: s3c24xx: fix build error X-Git-Tag: firefly_0821_release~176^2~4621^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6c7ee3bcae3bff476cfcd2039d82257e0dca90c;p=firefly-linux-kernel-4.4.55.git ARM: s3c24xx: fix build error When enabling device tree on the S3C an additional build bug appears in the Osiris DVS board file: CC arch/arm/mach-s3c24xx/mach-osiris-dvs.o archh/arm/mach-s3c24xx/mach-osiris-dvs.c: In function ‘osiris_dvs_notify’: arch/arm/mach-s3c24xx/mach-osiris-dvs.c:77:4: error: implicit declaration of function ‘S3C2410_GPB’ [-Werror=implicit-function-declaration] gpio_set_value(OSIRIS_GPIO_DVS, 1); ^ Fix this by explicitly including Reported-by: Arnd Bergmann Cc: Kukjin Kim Cc: Tomasz Figa Cc: Sylwester Nawrocki Cc: Ben Dooks Cc: linux-samsung-soc@vger.kernel.org Acked-by: Heiko Stuebner Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-s3c24xx/mach-osiris-dvs.c b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c index 45e74363aaa9..5b8af46c0d6b 100644 --- a/arch/arm/mach-s3c24xx/mach-osiris-dvs.c +++ b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c @@ -16,6 +16,7 @@ #include #include #include +#include #include