[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190319014633.GA8434@ivb42>
Date: Tue, 19 Mar 2019 09:46:33 +0800
From: kbuild test robot <lkp@...el.com>
To: Han Xu <han.xu@....com>
Cc: kbuild-all@...org, linux-spi@...r.kernel.org,
Mark Brown <broonie@...nel.org>,
Clark Wang <xiaoning.wang@....com>,
Frank Li <frank.li@....com>, linux-kernel@...r.kernel.org
Subject: [RFC PATCH spi] 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@...el.com>
---
spi-fsl-lpspi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c
index 1860f06..4de8eb3 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);
Powered by blists - more mailing lists