Skip to contentSkip to conversation

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

PATCH New Fabio Estevam 2 participants 2 messages Sep 2, 2013 – Sep 3, 2013

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: mxs: pm: Include "pm.h"

From: Fabio Estevam <[email protected]>

Include "pm.h" in order to 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?

---
 arch/arm/mach-mxs/pm.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-mxs/pm.c +1 -0
index b2494d2..0170e99 100644
@@ -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)
 {
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 ARM: mxs: pm: Include "pm.h"

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Include "pm.h" in order to 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?

Why do you resend a patch that I already applied [1]?

Shawn

[1] http://www.spinics.net/lists/arm-kernel/msg259101.html

Quoted 19 lines
---
 arch/arm/mach-mxs/pm.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-mxs/pm.c +1 -0
index b2494d2..0170e99 100644
@@ -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)
 {
Signature · 1 line
1.8.1.2