diff options
author | 2017-10-10 11:15:12 +0200 | |
---|---|---|
committer | 2017-10-11 11:25:13 +0200 | |
commit | 4e8975cbb516c5e4d1a5d026ffab1638409447d5 (patch) | |
tree | b697174615e25ae3c4d127c1dd985ed485ced156 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: samsung: exynos-audss: Add support for runtime PM (diff) | |
download | linux-dev-4e8975cbb516c5e4d1a5d026ffab1638409447d5.tar.xz linux-dev-4e8975cbb516c5e4d1a5d026ffab1638409447d5.zip |
clk: samsung: exynos5433: mark PM functions as __maybe_unused
The suspend/resume functions are referenced conditionally, causing
a harmless warning when CONFIG_PM is disabled:
drivers/clk/samsung/clk-exynos5433.c:5476:12: error: 'exynos5433_cmu_resume' defined but not used [-Werror=unused-function]
drivers/clk/samsung/clk-exynos5433.c:5453:12: error: 'exynos5433_cmu_suspend' defined but not used [-Werror=unused-function]
This marks both as __maybe_unused to shut up the warning.
Fixes: 523d3de41f02 ("clk: samsung: exynos5433: Add support for runtime PM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions