summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-03-19 04:46:33 +0300
committerMark Brown <broonie@kernel.org>2019-03-19 14:55:44 +0300
commit809b169abbfe2b916f70c957b08dfaaaad0d7c02 (patch)
tree9d451f1aa9c0d7baf668e94f9cd78a31975afc00 /drivers/spi
parent69b921acae8a5b7feef03921d9b42c3634f3b9d1 (diff)
downloadlinux-809b169abbfe2b916f70c957b08dfaaaad0d7c02.tar.xz
spi: lpspi: fsl_lpspi_runtime_resume() can be static
Fixes: 944c01a889d9 ("spi: lpspi: enable runtime pm for lpspi") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-fsl-lpspi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c
index 1860f066f838..4de8eb378752 100644
--- a/drivers/spi/spi-fsl-lpspi.c
+++ b/drivers/spi/spi-fsl-lpspi.c
@@ -780,7 +780,7 @@ static irqreturn_t fsl_lpspi_isr(int irq, void *dev_id)
return IRQ_NONE;
}
-int fsl_lpspi_runtime_resume(struct device *dev)
+static int fsl_lpspi_runtime_resume(struct device *dev)
{
struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev);
int ret;
@@ -798,7 +798,7 @@ int fsl_lpspi_runtime_resume(struct device *dev)
return 0;
}
-int fsl_lpspi_runtime_suspend(struct device *dev)
+static int fsl_lpspi_runtime_suspend(struct device *dev)
{
struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev);