From patchwork Thu Feb 8 17:58:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10207669 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 D224060247 for ; Thu, 8 Feb 2018 18:00:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1F7A295FB for ; Thu, 8 Feb 2018 18:00:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4AC0295FD; Thu, 8 Feb 2018 18:00:50 +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, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 4D118295FB for ; Thu, 8 Feb 2018 18:00:50 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xhVUyZAykzG+VZtyT47EE3rC8BYQ/Z0ewJN7EuHIvGc=; b=Kk72JM2YkIpFkH t+QE3kV8pFprO0swb7oco+j2zryDbibky/fTghqU9nPZKDxaHu8u2MTUggE8bwn/7Yi6nkV2X1xgl 3nFY5t57Gfqxn5SF+lD81GdB77j+m/5Pfk6Wq6dHR5ggD2FrlmAn+KmJxtIKzS8eknp0COBxNBgyO P+UTXXGzWZgu1nfosmNiPli3/FdokHQxBCQjxaUiZLkz/vHQdNJrbUaA6HXwbNVSvndUyaMU0gjSd pNybtSZDG83EnXL2d18pi9n5ArlKxu81FGW7LT3DWcRdxUcEqo1efXwYR3+tBntVYAunbSQ7zYC9f 7fzZd44pNiao7D0r59/A==; 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 1ejqV6-00079h-2Q; Thu, 08 Feb 2018 18:00:48 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejqTX-0004LZ-GA; Thu, 08 Feb 2018 17:59:14 +0000 X-UUID: 5ce6afcc35be4c399e9f71c14ccbfdd2-20180209 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1885747196; Fri, 09 Feb 2018 01:59:04 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 9 Feb 2018 01:58:56 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 9 Feb 2018 01:58:56 +0800 From: To: , , , Subject: [PATCH v4 4/5] dmaengine: mediatek: mtk_hsdma_find_active_desc() can be static Date: Fri, 9 Feb 2018 01:58:50 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N 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, kbuild test robot , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, dmaengine@vger.kernel.org, Fengguang Wu , 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 From: kbuild test robot Fixes: c8e4b2e4ca21 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC") Signed-off-by: Fengguang Wu Acked-by: Sean Wang --- drivers/dma/mediatek/mtk-hsdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/mediatek/mtk-hsdma.c b/drivers/dma/mediatek/mtk-hsdma.c index d394fc6..42b5b23 100644 --- a/drivers/dma/mediatek/mtk-hsdma.c +++ b/drivers/dma/mediatek/mtk-hsdma.c @@ -644,8 +644,8 @@ static irqreturn_t mtk_hsdma_irq(int irq, void *devid) return IRQ_HANDLED; } -struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, - dma_cookie_t cookie) +static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, + dma_cookie_t cookie) { struct mtk_hsdma_vchan *hvc = to_hsdma_vchan(c); struct virt_dma_desc *vd;