mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
media: imx: imx-media-fim: Replace macro icap_enabled() with function
Replace the macro icap_enabled() with a static function to comply with Linux coding style standards. Signed-off-by: Brent Pappas <bpappas@pappasbrent.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
4ab3f69cba
commit
7a46e2b923
|
|
@ -68,7 +68,10 @@ struct imx_media_fim {
|
|||
bool stream_on;
|
||||
};
|
||||
|
||||
#define icap_enabled(fim) ((fim)->icap_flags != IRQ_TYPE_NONE)
|
||||
static bool icap_enabled(struct imx_media_fim *fim)
|
||||
{
|
||||
return fim->icap_flags != IRQ_TYPE_NONE;
|
||||
}
|
||||
|
||||
static void update_fim_nominal(struct imx_media_fim *fim,
|
||||
const struct v4l2_fract *fi)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user