drivers/spi/spi-mxic.c:446:38: warning: symbol 'mxic_spi_mem_caps' was not declared. Should it be static? Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- spi-mxic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-mxic.c b/drivers/spi/spi-mxic.c index 8f8530bd37794..e137b1ec85d40 100644 --- a/drivers/spi/spi-mxic.c +++ b/drivers/spi/spi-mxic.c @@ -443,7 +443,7 @@ static int mxic_spi_mem_exec_op(struct spi_mem *mem, return ret; } -const struct spi_controller_mem_caps mxic_spi_mem_caps = { +static const struct spi_controller_mem_caps mxic_spi_mem_caps = { .dtr = true, };