mvebu: add definition for coherency_base
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Jun 2016 19:03:49 +0000 (20:03 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 16 Jun 2016 09:24:47 +0000 (11:24 +0200)
Fix the warning that coherency_base is not defined by adding
it to coherency.h (it is only used in the coherency_ll.S):

arch/arm/mach-mvebu/coherency.c:41:14: warning: symbol 'coherency_base' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/coherency.h

index 54cb760..6067f14 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef __MACH_370_XP_COHERENCY_H
 #define __MACH_370_XP_COHERENCY_H
 
+extern void __iomem *coherency_base;   /* for coherency_ll.S */
 extern unsigned long coherency_phys_base;
 int set_cpu_coherent(void);