From 43a8d240eee4f523c7120f47a4c9469f5abfb308 Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Sat, 16 Mar 2019 15:33:41 +0800 Subject: [PATCH] spi: spi-mem: stm32-qspi: stm32_qspi_pm_ops can be static Fixes: 2e541b64ee52 ("spi: spi-mem: stm32-qspi: add suspend/resume support") Signed-off-by: kbuild test robot Signed-off-by: Mark Brown --- drivers/spi/spi-stm32-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-stm32-qspi.c b/drivers/spi/spi-stm32-qspi.c index 3e8ca10011cc..7879a523583c 100644 --- a/drivers/spi/spi-stm32-qspi.c +++ b/drivers/spi/spi-stm32-qspi.c @@ -517,7 +517,7 @@ static int __maybe_unused stm32_qspi_resume(struct device *dev) return 0; } -SIMPLE_DEV_PM_OPS(stm32_qspi_pm_ops, stm32_qspi_suspend, stm32_qspi_resume); +static SIMPLE_DEV_PM_OPS(stm32_qspi_pm_ops, stm32_qspi_suspend, stm32_qspi_resume); static const struct of_device_id stm32_qspi_match[] = { {.compatible = "st,stm32f469-qspi"}, -- 2.30.2