ARM: versatile: fix missing <plat/platsmp.h> include
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:16:10 +0000 (18:16 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Jun 2016 08:55:51 +0000 (09:55 +0100)
Fix two missing function declarations by including the
<plat/platsmp.h> file where they are defined. Fixes:

arch/arm/plat-versatile/platsmp.c:35:6: warning: symbol 'versatile_secondary_init' was not declared. Should it be static?
arch/arm/plat-versatile/platsmp.c:50:5: warning: symbol 'versatile_boot_secondary' was not declared. Should it be static?

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm/plat-versatile/platsmp.c

index 53feb90..c236651 100644 (file)
@@ -18,6 +18,8 @@
 #include <asm/cacheflush.h>
 #include <asm/smp_plat.h>
 
+#include <plat/platsmp.h>
+
 /*
  * Write pen_release in a way that is guaranteed to be visible to all
  * observers, irrespective of whether they're taking part in coherency