Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1730714
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static |
| Date | 2017-09-12 09:40 +0200 |
| Message-ID | <uoNXA-6OK-25@gated-at.bofh.it> (permalink) |
| References | <ulXgL-4sF-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static Linus Walleij <linus.walleij@linaro.org> - 2017-09-12 09:40 +0200
csiph-web