aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-07-09 16:32:58 +0800
committerVinod Koul <[email protected]>2019-07-25 18:29:44 +0530
commitd105ef8120dd522c3233a1395ee0b318ed0929e8 (patch)
treeb4a6cdf62d4fec088a7dcff7b66fd73064424764 /tools/perf/util/trace-event-scripting.c
parent5d6fb560729a5d5554e23db8d00eb57cd0021083 (diff)
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 <[email protected]> Signed-off-by: YueHaibing <[email protected]> Fixes: 3145d73e69ba ("dmaengine: tegra210-adma: remove PM_CLK dependency") Fixes: f46b195799b5 ("dmaengine: tegra-adma: Add support for Tegra210 ADMA") Reported-by: Arnd Bergmann <[email protected]> Acked-by: Jon Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions