Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBB44D51E for ; Fri, 22 Dec 2023 09:40:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u2Bxy7em" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C818BC433C8; Fri, 22 Dec 2023 09:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703238011; bh=7/zzLv+s75yYxyalmRpzEO7n63IpBkhs1hC0dCtI+yQ=; h=From:To:Cc:Subject:Date:From; b=u2Bxy7emgqix39GPYWdBQZwdTc/75PHyvcK/SR1QcnSMK5hXiCNQvPxPUM5+D2/01 PXa6loV9Ax9lUc/YBOgImmGiY+M7YWT/ejOSJgOw335MLarkRR+XhYMHIPgDTFg6T9 HpVgcu1es0uRWv2ZTdqFYHGviHcZR5JSqv1GTk+ag2T1r3iS6I/JTHNI8Pb+6AXzI4 Kt/QW+NCms9FXi8Gz0jsjTPExdcCmxKWnhC7f+ghEFZMMSCykk4vxUhfkOSju76k93 ZL/Tj4JY9i4bP5DY+9wyhberkFDYagkEAS23zTi199ZdDDeoi1AGJDWPeX7U2WbLRQ kIz4jFrXXGRcA== From: Vinod Koul To: dmaengine@vger.kernel.org, Lizhi Hou , Brian Xu , Raj Kumar Rampelli , Vinod Koul , Michal Simek Cc: Stephen Rothwell Subject: [PATCH] dmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma Date: Fri, 22 Dec 2023 15:10:01 +0530 Message-ID: <20231222094001.731889-1-vkoul@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit xdma_prep_interleaved_dma() was local to file but not declared static, leading to warning: drivers/dma/xilinx/xdma.c:729:1: warning: no previous prototype for 'xdma_prep_interleaved_dma' [-Wmissing-prototypes] 729 | xdma_prep_interleaved_dma(struct dma_chan *chan Reported-by: Stephen Rothwell Signed-off-by: Vinod Koul --- drivers/dma/xilinx/xdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c index 9360b85131ef..4ebc90b41bdb 100644 --- a/drivers/dma/xilinx/xdma.c +++ b/drivers/dma/xilinx/xdma.c @@ -725,7 +725,7 @@ xdma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t address, * @xt: DMA transfer template * @flags: tx flags */ -struct dma_async_tx_descriptor * +static struct dma_async_tx_descriptor * xdma_prep_interleaved_dma(struct dma_chan *chan, struct dma_interleaved_template *xt, unsigned long flags) -- 2.43.0