Received: by 10.223.185.116 with SMTP id b49csp915059wrg; Sat, 10 Feb 2018 23:55:28 -0800 (PST) X-Google-Smtp-Source: AH8x225iMJBQqfwjDL98Apb0X4zMRbpSGFY5LBUNduilUGxKgWNUyY/es2RD8HGnFMjXyexWReVR X-Received: by 10.98.232.24 with SMTP id c24mr8007498pfi.227.1518335728113; Sat, 10 Feb 2018 23:55:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518335728; cv=none; d=google.com; s=arc-20160816; b=gu9IoULM6vBRXtWNzoLbf3AjYUaOhbUZAgE/0wb6NBl0yH9AAW/0KQhkqqVObwihCA 2hzmRSP5s2GvXXLBGrzv8qxIl2tkyWnHgoJEai2qdSFSngdi6kaJBaRdqSKqnv62AnSv tJ9Fa9LiN5E8ToAPDXI8nkaZXz7QX3SXJhmziB6sQBcyawu6g5nM6v1xeHvLWuWpIJ/p d41nohswYx3LtREpGEwC3eORwIh4HinFBqSbFMUh3Pery8B8FJigz/mave03OhwrotIU DB6F+it2z+MiQlpY7+WjBZ4d4PXB/1tCHM9sBeMEcpD+edHN4prYU2HiQZXe/ZE9NaSt o4nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=asyM2+R6J5DLOGYeK0HPOumIPp9QVMlL4KdHHbPHKkY=; b=xaLJ5F1pX1LyGLnJODxbpFmeCDAyJOPaw5UknriF7NIPkAgup/Th9wc+l5xLVFXxXg aNXjJqmcl/PBvsPvmpdN3kI1kN0NPJk46+17j0Bnit+k2rV6uVxvwF7Uh+mFoVbP3CAx UzaBBtwVWRIq1+y4dBoCIDeI2pCCqJ6i7ELOL6DMaE+uiNpqW38WGKFVn0qCxdSHSi3a iL8hIP0Y+rv8znauQ/EJkcow+PKDMsA3CFlUxi7/a4nMucu3OUBFdW573e8RwedwYXbs zdB9ziUwZiTo6oeGF+o1oVv/8eVNFP3m/n2DvIKsqYTvrVu2L/R/0YhX7Kj/IeQM5CUT bUtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si3718037pgr.135.2018.02.10.23.55.14; Sat, 10 Feb 2018 23:55:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719AbeBKHyd (ORCPT + 99 others); Sun, 11 Feb 2018 02:54:33 -0500 Received: from mga09.intel.com ([134.134.136.24]:33680 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682AbeBKHya (ORCPT ); Sun, 11 Feb 2018 02:54:30 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.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 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 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-Type: text/plain; charset=us-ascii 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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);