summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-03-16 08:33:41 +0100
committerMark Brown <broonie@kernel.org>2019-03-20 18:20:14 +0100
commit43a8d240eee4f523c7120f47a4c9469f5abfb308 (patch)
treeec4abcbf43aa2717ca44ce823a7d691ad8d5da00
parentMerge tag 'v5.1-rc1' into spi-5.2 (diff)
downloadlinux-43a8d240eee4f523c7120f47a4c9469f5abfb308.tar.xz
linux-43a8d240eee4f523c7120f47a4c9469f5abfb308.zip
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 <lkp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-stm32-qspi.c2
1 files changed, 1 insertions, 1 deletions
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"},