Re: [PATCH] dmaengine: tegra210-adma: Fix unused function warnings

From: Vinod Koul
Date: Thu Jul 25 2019 - 14:06:18 EST


On 09-07-19, 16:32, YueHaibing wrote:
> If CONFIG_PM is not set, build warnings:
>
> drivers/dma/tegra210-adma.c:747:12: warning: tegra_adma_runtime_resume defined but not used [-Wunused-function]
> static int tegra_adma_runtime_resume(struct device *dev)
> drivers/dma/tegra210-adma.c:715:12: warning: tegra_adma_runtime_suspend defined but not used [-Wunused-function]
> static int tegra_adma_runtime_suspend(struct device *dev)
>
> Mark the two function as __maybe_unused.

Applied, thanks

--
~Vinod