]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: ralink: rt2880: fix '-Wmissing-prototypes' in init function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 28 Dec 2020 06:47:27 +0000 (07:47 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Jan 2021 14:40:02 +0000 (15:40 +0100)
commitc6d212951b0f7eb3debfe2ec985dd84624eda150
tree2d79855d4ab3b7497eef96cd9ec2da68bfba799b
parent50a710873306ebe32b9a282051b2c1d0948368d3
pinctrl: ralink: rt2880: fix '-Wmissing-prototypes' in init function

Kernel test robot reported the following warning:
'warning: no previous prototype for 'rt2880_pinmux_init''.
This function is the entry point for the platform driver and
it is private to this driver. Hence declare it 'static' which is
the correct thing to do fixing also this warning.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20201228064727.30098-1-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/ralink/pinctrl-rt2880.c