diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-21 18:16:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-25 15:13:10 +0300 |
commit | 55e3dacaf538745b7d57dce43b9950687ff878ab (patch) | |
tree | 28f1e41b58d981bf3f5f3340a77f256de4a39e37 /drivers | |
parent | ca1438dcb34c7fcad63b6ce14ea63a870b92a69b (diff) | |
download | linux-55e3dacaf538745b7d57dce43b9950687ff878ab.tar.xz |
spi: atmel-quadspi: Make atmel_qspi_get_name static
Fix sparse warning:
drivers/spi/atmel-quadspi.c:369:12: warning:
symbol 'atmel_qspi_get_name' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/atmel-quadspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c index fffc21cd5f79..e54109759d34 100644 --- a/drivers/spi/atmel-quadspi.c +++ b/drivers/spi/atmel-quadspi.c @@ -366,7 +366,7 @@ static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) return err; } -const char *atmel_qspi_get_name(struct spi_mem *spimem) +static const char *atmel_qspi_get_name(struct spi_mem *spimem) { return dev_name(spimem->spi->dev.parent); } |