From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] mtd: spi-nor: rockchip_sfc_runtime_suspend() can be static Date: Sun, 11 Feb 2018 15:54:13 +0800 Message-ID: <20180211075413.GA11432@lkp-wsm-ep2> References: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Cc: kbuild-all@01.org, cyrille.pitchen@wedev4u.fr, mchehab@kernel.org, robh+dt@kernel.org, linux-mtd@lists.infradead.org, shawn.lin@rock-chips.com, heiko@sntech.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, boris.brezillon@free-electrons.com, Andy Yan List-Id: devicetree@vger.kernel.org Fixes: dbc2d867929a ("mtd: spi-nor: add rockchip serial flash controller driver") Signed-off-by: Fengguang Wu --- rockchip-sfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/rockchip-sfc.c b/drivers/mtd/spi-nor/rockchip-sfc.c index 60371011..e38d79d 100644 --- a/drivers/mtd/spi-nor/rockchip-sfc.c +++ b/drivers/mtd/spi-nor/rockchip-sfc.c @@ -896,7 +896,7 @@ static int rockchip_sfc_remove(struct platform_device *pdev) } #ifdef CONFIG_PM -int rockchip_sfc_runtime_suspend(struct device *dev) +static int rockchip_sfc_runtime_suspend(struct device *dev) { struct rockchip_sfc *sfc = dev_get_drvdata(dev); @@ -904,7 +904,7 @@ int rockchip_sfc_runtime_suspend(struct device *dev) return 0; } -int rockchip_sfc_runtime_resume(struct device *dev) +static int rockchip_sfc_runtime_resume(struct device *dev) { struct rockchip_sfc *sfc = dev_get_drvdata(dev);