From patchwork Fri Jun 1 00:42:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10442195 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 9A154603D7 for ; Fri, 1 Jun 2018 00:43:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9134728E54 for ; Fri, 1 Jun 2018 00:43:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8485528FEF; Fri, 1 Jun 2018 00:43:46 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3560328E54 for ; Fri, 1 Jun 2018 00:43:46 +0000 (UTC) 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=h8cI+7Id3xy8VMOCDwuXXq/U9dYw6yH2N6g6hJKqiUM=; b=ohOE07D7OJqxdf l0sUgjHeXBqHEC/u0hiAh0Kb4PgLvav+43prj+szZguwvvndJZFtwPZObEWXBgLTAVB6Vtuhv4CGX 4RGqzxdA5mjd81HE1/PLTO1Vsv+nim08vYxVMthsVTzeePgg32yGUjXMEw1geKdPbAri5+jvkVDA2 cE9FRS0Ff+ENrEXVCo3okdYH4u/5+YQlb0PeKghL31HyvckoWtWISeFjuCEzfIF+A4pX7FkyJoXOj jDv5mt+v/VsV1vNfZjzFnAoUC8aJ9+IC4vJ82yiDvQYMhG04Ynrxg+BoPlOsTPYrn6B95l4Wx1LuO xA5vQo8z1r1zJiMq1AlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOYAQ-0005k6-IK for patchwork-linux-mediatek@patchwork.kernel.org; Fri, 01 Jun 2018 00:43:42 +0000 Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOYA0-0005MQ-J1; Fri, 01 Jun 2018 00:43:17 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2018 17:43:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,464,1520924400"; d="scan'208";a="228989924" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 31 May 2018 17:43:02 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fOY9l-0005b4-8O; Fri, 01 Jun 2018 08:43:01 +0800 Date: Fri, 1 Jun 2018 08:42:27 +0800 From: kbuild test robot To: honghui.zhang@mediatek.com Subject: [RFC PATCH] PCI: mediatek: mtk_pcie_pm_ops can be static Message-ID: <20180601004227.GA98217@lkp-sb05> References: <1527647736-19986-1-git-send-email-honghui.zhang@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1527647736-19986-1-git-send-email-honghui.zhang@mediatek.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180531_174316_668856_1DB9B100 X-CRM114-Status: GOOD ( 21.98 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: youlin.pei@mediatek.com, devicetree@vger.kernel.org, hongkun.cao@mediatek.com, lorenzo.pieralisi@arm.com, marc.zyngier@arm.com, linux-pci@vger.kernel.org, sean.wang@mediatek.com, xinping.qian@mediatek.com, linux-kernel@vger.kernel.org, yong.wu@mediatek.com, matthias.bgg@gmail.com, ryder.lee@mediatek.com, linux-mediatek@lists.infradead.org, kbuild-all@01.org, honghui.zhang@mediatek.com, bhelgaas@google.com, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 24dc21cd1e9d ("PCI: mediatek: Add system pm support for MT2712") Signed-off-by: kbuild test robot --- pcie-mediatek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pcie-mediatek.c b/drivers/pci/host/pcie-mediatek.c index e3b16b0..e01cc66 100644 --- a/drivers/pci/host/pcie-mediatek.c +++ b/drivers/pci/host/pcie-mediatek.c @@ -1256,7 +1256,7 @@ static int __maybe_unused mtk_pcie_resume_noirq(struct device *dev) return 0; } -const struct dev_pm_ops mtk_pcie_pm_ops = { +static const struct dev_pm_ops mtk_pcie_pm_ops = { SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(mtk_pcie_suspend_noirq, mtk_pcie_resume_noirq) };