summaryrefslogtreecommitdiff
path: root/scripts/documentation-file-ref-check
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-03-20 10:13:37 +0300
committerVinod Koul <vkoul@kernel.org>2020-03-23 09:26:33 +0300
commita48d44c800c7a50a7d57be7adffb31e04643a42e (patch)
treea911ac58148ae7f231af3585602ffb07fadb3400 /scripts/documentation-file-ref-check
parent1986f03b2a878c494170a372729d5b04f893f89d (diff)
downloadlinux-a48d44c800c7a50a7d57be7adffb31e04643a42e.tar.xz
dmaengine: tegra-apb: mark PM functions as __maybe_unused
When CONFIG_PM is disabled, gcc warning this: drivers/dma/tegra20-apb-dma.c:1587:12: warning: 'tegra_dma_runtime_resume' defined but not used [-Wunused-function] drivers/dma/tegra20-apb-dma.c:1578:12: warning: 'tegra_dma_runtime_suspend' defined but not used [-Wunused-function] Make it as __maybe_unused to fix the warnings, also remove unneeded function declarations. Fixes: ec8a1586780c ("dma: tegra: add dmaengine based dma driver") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200320071337.59756-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions