From: kbuild test robot Date: Tue, 25 Nov 2014 00:36:12 +0000 (+0800) Subject: spi: meson: meson_spifc_setup_speed() can be static X-Git-Tag: v3.19-rc1~124^2~2^6~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=008c2a2ef0af9a31a848948034d7d59b37f9a9e1;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-meson-spifc.c b/drivers/spi/spi-meson-spifc.c index f536476710ad..0e48f8c2037d 100644 --- a/drivers/spi/spi-meson-spifc.c +++ b/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;