projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e4bc5
)
spi: meson: meson_spifc_setup_speed() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Tue, 25 Nov 2014 00:36:12 +0000
(08:36 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Nov 2014 12:08:24 +0000
(12:08 +0000)
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>
drivers/spi/spi-meson-spifc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-meson-spifc.c
b/drivers/spi/spi-meson-spifc.c
index f536476710adc4315b4c2dcf8bc1cc9d03b39164..0e48f8c2037d62508f6636afb9edb349bdf218c7 100644
(file)
--- 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;