]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: v4l2-core: add v4l2_debugfs_root()
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 28 Aug 2024 14:24:07 +0000 (16:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 12 Oct 2024 08:44:05 +0000 (10:44 +0200)
commitccb32f2357c08f64947e0fc32f9a9551ae69c6b3
tree54557e9c60e8591ba4a5f594cf50a99dc9579d3d
parentbfe703ac0c9f42fd54ec46416146f46d9502bc8c
media: v4l2-core: add v4l2_debugfs_root()

This new function returns the dentry of the top-level debugfs "v4l2"
directory. If it does not exist yet, then it is created first.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-dev.c
include/media/v4l2-dev.h