Commit Message

From: Colin Ian King <colin.king@canonical.com>
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 <colin.king@canonical.com>
---
drivers/pinctrl/sprd/pinctrl-sprd.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

On Mon, Sep 4, 2017 at 12:53 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>>> 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 <colin.king@canonical.com>
Patch applied for fixes.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html