media: omap3isp: mark isp_isr_dbg as __maybe_unused
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Nov 2021 09:08:47 +0000 (09:08 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 09:15:04 +0000 (10:15 +0100)
commitb61010bc5db5beee0ce0f56c316aae3e5de0bfee
treecfdf79038e75d06d72cc6b3ad8c01060b782b4a3
parent5f73dcec407612eb308699a5d8182d70916210b0
media: omap3isp: mark isp_isr_dbg as __maybe_unused

This function is only used for debugging purposes. When DEBUG
is disabled, it becomes unused, causing a clang warning with W=1.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/omap3isp/isp.c