spi: spi-mem: stm32-qspi: stm32_qspi_pm_ops can be static

Fixes: 2e541b64ee ("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>
This commit is contained in:
kbuild test robot 2019-03-16 15:33:41 +08:00 committed by Mark Brown
parent 249acb5f47
commit 43a8d240ee
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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"},