Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static
From: Linus Walleij <hidden>
Date: 2017-09-12 07:38:42
Also in:
kernel-janitors, lkml
From: Linus Walleij <hidden>
Date: 2017-09-12 07:38:42
Also in:
kernel-janitors, lkml
On Mon, Sep 4, 2017 at 12:53 PM, Colin King [off-list ref] wrote:
From: Colin Ian King <redacted> The functions sprd_pmx_get_function_count, sprd_pmx_get_function_name and sprd_pmx_get_function_groups are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: "symbol 'sprd_pmx_get_function_count' was not declared. Should it be static?" "symbol 'sprd_pmx_get_function_name' was not declared. Should it be static?" "symbol 'sprd_pmx_get_function_groups' was not declared. Should it be static?" Signed-off-by: Colin Ian King <redacted>
Patch applied for fixes. Yours, Linus Walleij