Re: [PATCH][next] misc: rtsx: rts5260: make several functions static

From: Lee Jones
Date: Tue Dec 05 2017 - 03:32:22 EST


On Mon, 04 Dec 2017, Colin King wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Several functios are local to the source and do not need to be in global
> scope, so make them static.
>
> Cleans up sparse warnings:
> symbol 'rts5260_get_ocpstat' was not declared. Should it be static?
> symbol 'rts5260_get_ocpstat2' was not declared. Should it be static?
> symbol 'rts5260_clear_ocpstat' was not declared. Should it be static?
> symbol 'rts5260_process_ocp' was not declared. Should it be static?
> symbol 'rts5260_init_hw' was not declared. Should it be static?
> symbol 'rts5260_set_aspm' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/misc/cardreader/rts5260.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog