From patchwork Sun Feb 11 07:54:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10211153 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 044AA60329 for ; Sun, 11 Feb 2018 07:59:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB2EC28EE2 for ; Sun, 11 Feb 2018 07:59:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF6CC28F54; Sun, 11 Feb 2018 07:59:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5ACF028EE2 for ; Sun, 11 Feb 2018 07:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=x8Fg3Dlji6uN36JeKNHgZf2Q1LHG9+2nu+6eYwBsf6Q=; b=YSYPPW3TAEJeJP7a5ZDMvTHou 6s7RzCx/1wK9jDFyQTyyJS0TRMeJdruSEii+83AWKniZTwQRSwCulxilbTdbgMFS/MpB/4H7U+V7t Y9VcQog8EEJmcbz6vCAqVqg7IEOCR1gk8k4Vl0UMwUnJmrHFT2WvWh2GdEQPRj6yzP5ezRGJr20oc p5ixNq1bwyWdFxWvs3aZPjCDY94jAx5tHw+mEmqcq0Ij33v3qPFZ/ri5JQUVtU549FJzK9OyY44bR WJ4GKuEPdZVgVubMZ2viCkc7o8eujnPkK6Z7dNRARhlj1G94IgtYcvVYsjgNFfoRVPMGEXbYbdQ5K 8oeHbLFYA==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekmXI-0005jK-70 for patchwork-linux-arm@patchwork.kernel.org; Sun, 11 Feb 2018 07:58:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x8Fg3Dlji6uN36JeKNHgZf2Q1LHG9+2nu+6eYwBsf6Q=; b=JEFIixIiDok/T9 m1VyZfYG3EOwYevzWBNSF2TM+qnkWCnboXoq/phN64G1ALeLnLYiNGmXh+ofQHJF8a8ItYufgEnPC t1aYcXSZiXE0rVEhQxwj51tvYqnVvPmnlfNmFnsnnKbY1o2SR8xbZnhVVtKW2drXMGmFFVfmtw3C6 kz/z1vKpcA0DRhPRpSIC9bru0q7Pytc1mU2/8eJw0t3Q404SzkT/vOg0GDcCtSGFVj1DYAgVxi3Wz bzUN6A+aGFVSIgR3FaUPUWtAeJK2YkUV8m80b3rPC+dhXKBa1RB1E/n6CRkW4pc2zoe31mBuv1Gu1 Ehkckog399VubOoIfJaQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekmTs-0001yv-QV; Sun, 11 Feb 2018 07:55:24 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekmTA-000878-Vv; Sun, 11 Feb 2018 07:54:42 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2018 23:54:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,494,1511856000"; d="scan'208";a="200290944" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 10 Feb 2018 23:54:27 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ekmYw-000WwW-1b; Sun, 11 Feb 2018 16:00:38 +0800 Date: Sun, 11 Feb 2018 15:54:13 +0800 From: kbuild test robot To: Andy Yan Subject: [RFC PATCH] mtd: spi-nor: rockchip_sfc_runtime_suspend() can be static Message-ID: <20180211075413.GA11432@lkp-wsm-ep2> References: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, heiko@sntech.de, boris.brezillon@free-electrons.com, shawn.lin@rock-chips.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-mtd@lists.infradead.org, kbuild-all@01.org, cyrille.pitchen@wedev4u.fr, Andy Yan , mchehab@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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);