]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: v4l2-core: Rename second ioctl handlers argument to 'void *priv'
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 10 Aug 2025 01:30:56 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:59 +0000 (08:33 +0200)
commit9d05191c4ed31bb817c03a1b7028ed81fefa8bfb
treed832c8b8328ccaa65af41dca2a6646c2c09e7b90
parentad46aef5550a7600617aa156d788a01ad5c78b4d
media: v4l2-core: Rename second ioctl handlers argument to 'void *priv'

The second argument to the ioctl handlers is not a file handle any more.
Rename it from 'void *fh' to 'void *priv' in the V4L2 core, to avoid
misconceptions.

While at it, align function arguments in include/media/v4l2-mem2mem.h.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls-api.c
drivers/media/v4l2-core/v4l2-mem2mem.c
include/media/v4l2-ctrls.h
include/media/v4l2-mem2mem.h