spi: lpspi: fsl_lpspi_runtime_resume() can be static

Fixes: 944c01a889 ("spi: lpspi: enable runtime pm for lpspi")
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-19 09:46:33 +08:00 committed by Mark Brown
parent 69b921acae
commit 809b169abb
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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);