summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-21 08:28:53 -0400
committerWei Xu <xuwei5@hisilicon.com>2016-06-28 11:23:47 -0400
commit09ca62f5d72ad6a7496e83d4f65d7e33adfb7eee (patch)
treef2bdc2d4086722032ae9ea53284b49cd441a9812 /arch/arm/mach-hisi
parent1a695a905c18548062509178b98bc91e67510864 (diff)
ARM: hisi: make unexported symbols static
The two functions hix5hd2_set_scu_boot_addr() and hip01_set_boot_addr() are not declared or exported outside arch/arm/mach-hisi/platsmp.c file. Avoid the following warnings by making them static: arch/arm/mach-hisi/platsmp.c:142:6: warning: symbol 'hip01_set_boot_addr' was not declared. Should it be static? arch/arm/mach-hisi/platsmp.c:106:6: warning: symbol 'hix5hd2_set_scu_boot_addr' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm/mach-hisi')
-rw-r--r--arch/arm/mach-hisi/platsmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi/platsmp.c
index 47ed32cf57cc..e1d67648d5d0 100644
--- a/arch/arm/mach-hisi/platsmp.c
+++ b/arch/arm/mach-hisi/platsmp.c
@@ -103,7 +103,7 @@ static void __init hisi_common_smp_prepare_cpus(unsigned int max_cpus)
103 hisi_enable_scu_a9(); 103 hisi_enable_scu_a9();
104} 104}
105 105
106void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr) 106static void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
107{ 107{
108 void __iomem *virt; 108 void __iomem *virt;
109 109
@@ -139,7 +139,7 @@ static const struct smp_operations hix5hd2_smp_ops __initconst = {
139#define HIP01_BOOT_ADDRESS 0x80000000 139#define HIP01_BOOT_ADDRESS 0x80000000
140#define REG_SC_CTRL 0x000 140#define REG_SC_CTRL 0x000
141 141
142void hip01_set_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr) 142static void hip01_set_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
143{ 143{
144 void __iomem *virt; 144 void __iomem *virt;
145 145