[PATCH] ARM: hisi: make unexported symbols static

Wei Xu xuwei5 at hisilicon.com
Wed Jun 22 09:30:24 PDT 2016


Hi Ben,

On 21/06/2016 13:28, Ben Dooks wrote:
> 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 at codethink.co.uk>
> ---
> Cc: Wei Xu <xuwei5 at hisilicon.com>
> Cc: linux-arm-kernel at lists.infradead.org
> ---
>  arch/arm/mach-hisi/platsmp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks!
Applied to the hisilicon git tree.

Best Regards,
Wei




More information about the linux-arm-kernel mailing list