diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-08-17 05:53:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-29 14:00:26 -0400 |
commit | 44a9ffd4eb99ada6c1496a735a414414fef30696 (patch) | |
tree | 78eb0758d643c7938c48e2b6dc7820e7e12392b1 /drivers/media/platform/renesas-ceu.c | |
parent | 312f73b648626a0526a3aceebb0a3192aaba05ce (diff) |
media: camss: mark PM functions as __maybe_unused
The empty suspend/resume functions cause a build warning
when they are unused:
drivers/media/platform/qcom/camss/camss.c:1001:12: error: 'camss_runtime_resume' defined but not used [-Werror=unused-function]
drivers/media/platform/qcom/camss/camss.c:996:12: error: 'camss_runtime_suspend' defined but not used [-Werror=unused-function]
Mark them as __maybe_unused so the compiler can silently drop them.
Fixes: 02afa816dbbf ("media: camss: Add basic runtime PM support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Todor Tomov <todor.tomov@linaro.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/renesas-ceu.c')
0 files changed, 0 insertions, 0 deletions