linux/drivers/media/platform/qcom/camss
Arnd Bergmann 44a9ffd4eb 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: 02afa816db ("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>
2018-08-29 14:00:26 -04:00
..
camss-csid.c media: camss: csid: Add support for events triggered by user controls 2018-08-02 08:48:28 -04:00
camss-csid.h media: camss: Format configuration per hardware version 2018-08-02 06:35:09 -04:00
camss-csiphy-2ph-1-0.c media: camss: csiphy: Unify lane handling 2018-08-02 06:25:02 -04:00
camss-csiphy-3ph-1-0.c media: camss: csiphy: Add support for 8x96 2018-08-02 06:25:48 -04:00
camss-csiphy.c media: camss: Add support for 10-bit grayscale formats 2018-08-02 08:46:41 -04:00
camss-csiphy.h media: camss: Format configuration per hardware version 2018-08-02 06:35:09 -04:00
camss-ispif.c media: camss: Add support for 10-bit grayscale formats 2018-08-02 08:46:41 -04:00
camss-ispif.h media: camss: Format configuration per hardware version 2018-08-02 06:35:09 -04:00
camss-vfe-4-1.c media: camss: vfe: Add support for UYVY output from VFE on 8x96 2018-08-02 06:37:48 -04:00
camss-vfe-4-7.c media: camss: vfe: Add support for UYVY output from VFE on 8x96 2018-08-02 06:37:48 -04:00
camss-vfe.c media: camss: Add support for 10-bit grayscale formats 2018-08-02 08:46:41 -04:00
camss-vfe.h media: camss: vfe: Add support for UYVY output from VFE on 8x96 2018-08-02 06:37:48 -04:00
camss-video.c media: camss: Add support for 10-bit grayscale formats 2018-08-02 08:46:41 -04:00
camss-video.h
camss.c media: camss: mark PM functions as __maybe_unused 2018-08-29 14:00:26 -04:00
camss.h media: camss: Add basic runtime PM support 2018-08-02 06:23:18 -04:00
Makefile media: camss: vfe: Add support for 8x96 2018-08-02 06:33:04 -04:00