linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: prima2: fix missing common.h in pm.c
@ 2016-06-21 12:42 Ben Dooks
  0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2016-06-21 12:42 UTC (permalink / raw)
  To: linux-arm-kernel

The sirfsoc_pm_init() function is declared in common.h but
the header is not included in pm.c where it is defined. Fix
the following warning by including common.h:

arch/arm/mach-prima2/pm.c:148:12: warning: symbol 'sirfsoc_pm_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Barry Song <baohua@kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mach-prima2/pm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c
index 83e94c9..74c551a 100644
--- a/arch/arm/mach-prima2/pm.c
+++ b/arch/arm/mach-prima2/pm.c
@@ -20,6 +20,7 @@
 #include <asm/suspend.h>
 #include <asm/hardware/cache-l2x0.h>
 
+#include "common.h"
 #include "pm.h"
 
 /*
-- 
2.8.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-21 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 12:42 [PATCH] ARM: prima2: fix missing common.h in pm.c Ben Dooks

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).