summaryrefslogtreecommitdiff
path: root/drivers/dma/stm32-mdma.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-07-09 16:32:58 +0800
committerVinod Koul <vkoul@kernel.org>2019-07-25 18:29:44 +0530
commitd105ef8120dd522c3233a1395ee0b318ed0929e8 (patch)
treeb4a6cdf62d4fec088a7dcff7b66fd73064424764 /drivers/dma/stm32-mdma.c
parent5d6fb560729a5d5554e23db8d00eb57cd0021083 (diff)
downloadlwn-d105ef8120dd522c3233a1395ee0b318ed0929e8.tar.gz
lwn-d105ef8120dd522c3233a1395ee0b318ed0929e8.zip
dmaengine: tegra210-adma: Fix unused function warnings
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. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Fixes: 3145d73e69ba ("dmaengine: tegra210-adma: remove PM_CLK dependency") Fixes: f46b195799b5 ("dmaengine: tegra-adma: Add support for Tegra210 ADMA") Reported-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20190709083258.57112-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/stm32-mdma.c')
0 files changed, 0 insertions, 0 deletions