spi: meson: meson_spifc_setup_speed() can be static

drivers/spi/spi-meson-spifc.c:171:6: sparse: symbol 'meson_spifc_setup_speed' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
kbuild test robot 2014-11-25 08:36:12 +08:00 committed by Mark Brown
parent c3e4bc5434
commit 008c2a2ef0
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf,
* @spifc: the Meson SPI device
* @speed: desired speed in Hz
*/
void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed)
static void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed)
{
unsigned long parent, value;
int n;