]> git.ipfire.org Git - thirdparty/linux.git/commit
media: mali-c55: Mark pm handlers as __maybe_unused
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Fri, 14 Nov 2025 20:19:20 +0000 (21:19 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Sat, 15 Nov 2025 09:24:14 +0000 (10:24 +0100)
commit2f1e88814ce1388c932e2c1c91e1e176c740154f
tree7460fa3375bc93e5ec03357fc2178e2fe8153d33
parent1435db44ec1c81ede88470ed3486a2f5a8765704
media: mali-c55: Mark pm handlers as __maybe_unused

As the Mali-C55 driver is instrumented to work without depending on
CONFIG_PM, mark the two pm_runtime handlers as __maybe_unused to
suppress the compiler warning when compiling without CONFIG_PM.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/arm/mali-c55/mali-c55-core.c