OSDN Git Service

media: rkisp1: Move debugfs code to a separate file
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 26 Feb 2022 07:57:09 +0000 (07:57 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 27 Jun 2022 07:34:19 +0000 (08:34 +0100)
commit8682037db36c81c7910e28c3060b8875d2944a7c
tree4cbbcfbee81be4c819ca015daa37a640714205a2
parent3e74a42223862de7429e1882cc2f56227cf1a5d9
media: rkisp1: Move debugfs code to a separate file

To avoid cluttering the main rkisp1-dev.c driver file, move debugfs code
to a separate source file. This prepares for extensions to the debugfs
infrastructure.

While at it, add a missing forward declaration for struct dentry in
rkisp1-common.h to avoid depending on indirect includes.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/Makefile
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c [new file with mode: 0644]
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c