mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
c3e4bc5434
commit
008c2a2ef0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue