Browse Source

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>
kbuild test robot 10 years ago
parent
commit
008c2a2ef0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/spi/spi-meson-spifc.c

+ 1 - 1
drivers/spi/spi-meson-spifc.c

@@ -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;