diff mbox series

[RFC,spi] spi: spi-mem: stm32-qspi: stm32_qspi_pm_ops can be static

Message ID 20190316073341.GA132987@lkp-hsx03 (mailing list archive)
State Mainlined, archived
Commit 43a8d240eee4f523c7120f47a4c9469f5abfb308
Headers show
Series [RFC,spi] spi: spi-mem: stm32-qspi: stm32_qspi_pm_ops can be static | expand

Commit Message

kernel test robot March 16, 2019, 7:33 a.m. UTC
Fixes: 2e541b64ee52 ("spi: spi-mem: stm32-qspi: add suspend/resume support")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 spi-stm32-qspi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/spi/spi-stm32-qspi.c b/drivers/spi/spi-stm32-qspi.c
index 3e8ca10..7879a52 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"},