ARM: mach-imx: anatop: Include "common.h"
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:41 +0000 (09:20 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 12 Apr 2013 11:01:43 +0000 (19:01 +0800)
Fix the following sparse warnings:

arch/arm/mach-imx/anatop.c:56:6: warning: symbol 'imx_anatop_pre_suspend' was not declared. Should it be static?
arch/arm/mach-imx/anatop.c:62:6: warning: symbol 'imx_anatop_post_resume' was not declared. Should it be static?
arch/arm/mach-imx/anatop.c:68:6: warning: symbol 'imx_anatop_usb_chrg_detect_disable' was not declared. Should it be static?
arch/arm/mach-imx/anatop.c:78:5: warning: symbol 'imx_anatop_get_digprog' was not declared. Should it be static?
arch/arm/mach-imx/anatop.c:86:13: warning: symbol 'imx_anatop_init' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/anatop.c

index 8b18b3c3bcf066477e4ea96af96e25962a2ed760..472beee9cd98663fc8611710a2f84897d8545d91 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/of_address.h>
 #include <linux/mfd/syscon.h>
 #include <linux/regmap.h>
+#include "common.h"
 
 #define REG_SET                0x4
 #define REG_CLR                0x8