Re: [PATCH -next] reset: uniphier: fix non static symbol warnings

From: Masahiro Yamada
Date: Wed Feb 08 2017 - 11:19:48 EST


2017-02-09 0:56 GMT+09:00 Wei Yongjun <weiyj.lk@xxxxxxxxx>:
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> Fixes the following sparse warnings:
>
> drivers/reset/reset-uniphier.c:68:34: warning:
> symbol 'uniphier_sld3_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:73:34: warning:
> symbol 'uniphier_pro4_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:81:34: warning:
> symbol 'uniphier_pro5_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:89:34: warning:
> symbol 'uniphier_pxs2_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:103:34: warning:
> symbol 'uniphier_ld11_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:108:34: warning:
> symbol 'uniphier_ld20_sys_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:137:34: warning:
> symbol 'uniphier_sld3_mio_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:157:34: warning:
> symbol 'uniphier_pro5_sd_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:174:34: warning:
> symbol 'uniphier_ld4_peri_reset_data' was not declared. Should it be static?
> drivers/reset/reset-uniphier.c:187:34: warning:
> symbol 'uniphier_pro4_peri_reset_data' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>



Acked-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>


Thanks!



--
Best Regards
Masahiro Yamada