Commit b61010bc authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 5f73dcec
...@@ -476,7 +476,8 @@ void omap3isp_hist_dma_done(struct isp_device *isp) ...@@ -476,7 +476,8 @@ void omap3isp_hist_dma_done(struct isp_device *isp)
} }
} }
static inline void isp_isr_dbg(struct isp_device *isp, u32 irqstatus) static inline void __maybe_unused isp_isr_dbg(struct isp_device *isp,
u32 irqstatus)
{ {
static const char *name[] = { static const char *name[] = {
"CSIA_IRQ", "CSIA_IRQ",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment