“0ba4da03cc84f54b2574e1abcdaa18ef8456a9fb”上不存在“arch/sparc/kernel/sys_sparc32.c”
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: 02afa816 ("media: camss: Add basic runtime PM support") Signed-off-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NTodor Tomov <todor.tomov@linaro.org> Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录