diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2014-11-24 19:36:12 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-25 07:08:24 -0500 |
commit | 008c2a2ef0af9a31a848948034d7d59b37f9a9e1 (patch) | |
tree | 9e062b630b3609ec0c597296cd90252b5ec0d76f /drivers/spi/spi-meson-spifc.c | |
parent | c3e4bc5434d2999ec3b00eadd1945eadf13fd0de (diff) |
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>
Diffstat (limited to 'drivers/spi/spi-meson-spifc.c')
-rw-r--r-- | drivers/spi/spi-meson-spifc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
168 | * @spifc: the Meson SPI device | 168 | * @spifc: the Meson SPI device |
169 | * @speed: desired speed in Hz | 169 | * @speed: desired speed in Hz |
170 | */ | 170 | */ |
171 | void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed) | 171 | static void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed) |
172 | { | 172 | { |
173 | unsigned long parent, value; | 173 | unsigned long parent, value; |
174 | int n; | 174 | int n; |