From patchwork Tue Mar 13 21:53:58 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: 10280977 X-Patchwork-Delegate: bhelgaas@google.com 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 DEE8B602C2 for ; Tue, 13 Mar 2018 21:54:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD7CF2844C for ; Tue, 13 Mar 2018 21:54:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFCD9284FF; Tue, 13 Mar 2018 21:54:51 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA1CE2844C for ; Tue, 13 Mar 2018 21:54:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbeCMVys (ORCPT ); Tue, 13 Mar 2018 17:54:48 -0400 Received: from mga04.intel.com ([192.55.52.120]:34663 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbeCMVys (ORCPT ); Tue, 13 Mar 2018 17:54:48 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 14:54:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,466,1515484800"; d="scan'208";a="211266008" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga005.fm.intel.com with ESMTP; 13 Mar 2018 14:54:45 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1evrrX-000FmE-6L; Wed, 14 Mar 2018 05:53:39 +0800 Date: Wed, 14 Mar 2018 05:53:58 +0800 From: kbuild test robot To: Nipun Gupta Cc: kbuild-all@01.org, hch@lst.de, robin.murphy@arm.com, linux@armlinux.org.uk, gregkh@linuxfoundation.org, m.szyprowski@samsung.com, bhelgaas@google.com, dmitry.torokhov@gmail.com, rafael.j.wysocki@intel.com, jarkko.sakkinen@linux.intel.com, linus.walleij@linaro.org, johan@kernel.org, msuchanek@suse.de, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, Nipun Gupta Subject: [RFC PATCH] dma-mapping: platform_dma_configure() can be static Message-ID: <20180313215358.GA20099@lkp-wsm-ep1> References: <1520868292-2479-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1520868292-2479-1-git-send-email-nipun.gupta@nxp.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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 9a019f425175 ("dma-mapping: move dma configuration to bus infrastructure") Signed-off-by: Fengguang Wu --- platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/platform.c b/drivers/base/platform.c index adf94eb..dc9c790 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -1130,7 +1130,7 @@ int platform_pm_restore(struct device *dev) #endif /* CONFIG_HIBERNATE_CALLBACKS */ -int platform_dma_configure(struct device *dev) +static int platform_dma_configure(struct device *dev) { enum dev_dma_attr attr; int ret = 0; @@ -1146,7 +1146,7 @@ int platform_dma_configure(struct device *dev) return ret; } -void platform_dma_deconfigure(struct device *dev) +static void platform_dma_deconfigure(struct device *dev) { of_dma_deconfigure(dev); acpi_dma_deconfigure(dev);