Messages in this thread | | | Date | Thu, 25 Jul 2019 18:32:55 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: tegra210-adma: Fix unused function warnings |
| |
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
| |