summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-07-04 16:14:08 +0300
committerVinod Koul <vinod.koul@intel.com>2016-07-06 20:09:43 +0300
commit184f337e6d859c20e0d3c6954980cbb744e014fb (patch)
tree69fafe1099b5dd8217b01b2c26bfda1fa179fe1b /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9a8d0efaff4b343e3cff8b2cfaba847a18e2c0d9 (diff)
downloadlinux-184f337e6d859c20e0d3c6954980cbb744e014fb.tar.xz
dmaengine: qcom-bam-dma: add __maybe_unused annotations for PM
The bam_dma driver gained runtime PM support, but that causes build warnings whenever CONFIG_PM is disabled: drivers/dma/qcom/bam_dma.c:1324:12: error: 'bam_dma_runtime_resume' defined but not used [-Werror=unused-function] static int bam_dma_runtime_resume(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ drivers/dma/qcom/bam_dma.c:1315:12: error: 'bam_dma_runtime_suspend' defined but not used [-Werror=unused-function] static int bam_dma_runtime_suspend(struct device *dev) This removes the incomplete #ifdef guard and instead marks all four PM functions as __maybe_unused, which avoids this kind of warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 7d2545599f5b ("dmaengine: qcom-bam-dma: Add pm_runtime support") Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions