Patchwork ARM: mxs: pm: Include "pm.h"

login
register
mail settings
Submitter Fabio Estevam
Date July 16, 2013, 1:32 p.m.
Message ID <1373981559-23743-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/259418/
State New
Headers show

Comments

Fabio Estevam - July 16, 2013, 1:32 p.m.
Fix the following sparse warning:

arch/arm/mach-mxs/pm.c:37:13: warning: symbol 'mxs_pm_init' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mxs/pm.c | 1 +
 1 file changed, 1 insertion(+)
Shawn Guo - July 17, 2013, 3:53 a.m.
On Tue, Jul 16, 2013 at 10:32:39AM -0300, Fabio Estevam wrote:
> Fix the following sparse warning:
> 
> arch/arm/mach-mxs/pm.c:37:13: warning: symbol 'mxs_pm_init' was not declared. Should it be static?
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

Patch

diff --git a/arch/arm/mach-mxs/pm.c b/arch/arm/mach-mxs/pm.c
index b2494d2..0170e99 100644
--- a/arch/arm/mach-mxs/pm.c
+++ b/arch/arm/mach-mxs/pm.c
@@ -15,6 +15,7 @@ 
 #include <linux/kernel.h>
 #include <linux/suspend.h>
 #include <linux/io.h>
+#include "pm.h"
 
 static int mxs_suspend_enter(suspend_state_t state)
 {