[PATCH 06/41] ARM: restart: cns3xxx: use new restart hook
Anton Vorontsov
cbouatmailru at gmail.com
Thu Nov 24 16:00:36 EST 2011
On Thu, Nov 24, 2011 at 08:30:38PM +0000, Russell King - ARM Linux wrote:
> Ack?
Sure, except that pm.c now needs to include core.h (or the prototype
has to be added to pm.h). Otherwise I'm getting the following warning:
CHECK arch/arm/mach-cns3xxx/pm.c
arch/arm/mach-cns3xxx/pm.c:92:6: warning: symbol 'cns3xxx_restart' was not declared. Should it be static?
Following hunk helps:
diff --git a/arch/arm/mach-cns3xxx/pm.c b/arch/arm/mach-cns3xxx/pm.c
index 5136c4c..335494c 100644
--- a/arch/arm/mach-cns3xxx/pm.c
+++ b/arch/arm/mach-cns3xxx/pm.c
@@ -14,6 +14,7 @@
#include <mach/system.h>
#include <mach/cns3xxx.h>
#include <mach/pm.h>
+#include "core.h"
void cns3xxx_pwr_clk_en(unsigned int block)
{
Other than that,
Acked-by: Anton Vorontsov <cbouatmailru at gmail.com>
Thanks!
--
Anton Vorontsov
Email: cbouatmailru at gmail.com
More information about the linux-arm-kernel
mailing list