From: Ben Dooks Date: Wed, 8 Jun 2016 17:26:17 +0000 (+0100) Subject: ARM: imx: fix missing include of common.h X-Git-Tag: v4.14-rc1~2746^2~19^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba4d86a64d9e7b904ef6ba181200712f33978a97;p=platform%2Fkernel%2Flinux-rpi.git ARM: imx: fix missing include of common.h Fix the following warning by including ../common.h to provide the protoype for mxc_register_gpio() : arch/arm/mach-imx/devices/platform-gpio-mxc.c:11:24: warning: symbol 'mxc_register_gpio' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/devices/platform-gpio-mxc.c b/arch/arm/mach-imx/devices/platform-gpio-mxc.c index 26483fa..cd1fe69 100644 --- a/arch/arm/mach-imx/devices/platform-gpio-mxc.c +++ b/arch/arm/mach-imx/devices/platform-gpio-mxc.c @@ -7,6 +7,7 @@ * Free Software Foundation. */ #include "devices-common.h" +#include "../common.h" struct platform_device *__init mxc_register_gpio(char *name, int id, resource_size_t iobase, resource_size_t iosize, int irq, int irq_high)