ARM: imx: fix missing include of common.h
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:26:17 +0000 (18:26 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 12 Jun 2016 11:48:09 +0000 (19:48 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/devices/platform-gpio-mxc.c

index 26483fa94b75109d13ed56ace45af8ed9c44656d..cd1fe69d8807096576a3fbf6107d3ab2c3549a1a 100644 (file)
@@ -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)
This page took 0.039552 seconds and 5 git commands to generate.