Commit 008c2a2e authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c3e4bc54
...@@ -168,7 +168,7 @@ static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf, ...@@ -168,7 +168,7 @@ static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf,
* @spifc: the Meson SPI device * @spifc: the Meson SPI device
* @speed: desired speed in Hz * @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; unsigned long parent, value;
int n; int n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment