* [PATCH] ARM: imx: fix missing include of common.h
@ 2016-06-08 17:26 Ben Dooks
2016-06-11 14:01 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2016-06-08 17:26 UTC (permalink / raw)
To: linux-arm-kernel
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 <ben.dooks@codethink.co.uk>
---
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/mach-imx/devices/platform-gpio-mxc.c | 1 +
1 file changed, 1 insertion(+)
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)
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: imx: fix missing include of common.h
2016-06-08 17:26 [PATCH] ARM: imx: fix missing include of common.h Ben Dooks
@ 2016-06-11 14:01 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2016-06-11 14:01 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jun 08, 2016 at 06:26:17PM +0100, Ben Dooks wrote:
> 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 <ben.dooks@codethink.co.uk>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-11 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 17:26 [PATCH] ARM: imx: fix missing include of common.h Ben Dooks
2016-06-11 14:01 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).