Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: versatile: fix missing <plat/platsmp.h> include

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>

authored by

Ben Dooks and committed by
Sudeep Holla
4091af6b b47a1b46

+2
+2
arch/arm/plat-versatile/platsmp.c
··· 18 18 #include <asm/cacheflush.h> 19 19 #include <asm/smp_plat.h> 20 20 21 + #include <plat/platsmp.h> 22 + 21 23 /* 22 24 * Write pen_release in a way that is guaranteed to be visible to all 23 25 * observers, irrespective of whether they're taking part in coherency