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: 10442193 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 6252C602BC for ; Fri, 1 Jun 2018 00:43:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 597B72040D for ; Fri, 1 Jun 2018 00:43:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D3C22624A; Fri, 1 Jun 2018 00:43:35 +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 0259F2040D for ; Fri, 1 Jun 2018 00:43:34 +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=fp5pxwnYHGj2rBV3ct5zU3fI/OSudR6uSYG7Z9UIqho=; b=PU3m5CLjsVKWnd cnYBArHAMiRcfwqwtJeePfcXqHjGZUJeynNBcyzBn66SOzOZMmOCgcIIjw7i8o6crUhD940AbGa59 aHLPnVXRsNjmU1uQMzx+0hUmvdZvJhb1cQczXPYAjzeJc35LAkjKrfW7Xdv3NSLwjfXLNtDRypyvR udFKJygeoWwu4Jaa9mgZoB8DeW3vXzWBhgQ+MQPNCERXSXOBYcmiA4EwSMks3BK5h/ByMBd8sUw8v G07R46uU8bTqew2Dd1IHFmPqlgamDCFUMEnfWT5DxSlUm2zJLUiuQnnkeBQXN8CMYhXhp9wJIm5BZ DMxbiqJK7aXDViFgsdug==; 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 1fOYA4-0005Pd-9d; Fri, 01 Jun 2018 00:43:20 +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-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: youlin.pei@mediatek.com, devicetree@vger.kernel.org, hongkun.cao@mediatek.com, lorenzo.pieralisi@arm.com, yt.shen@mediatek.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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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) };