aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2021-09-15 11:45:09 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-10-05 09:37:21 +0200
commitd66302f62f7dfb6dc937311ff80177ffea81ea38 (patch)
tree2acfb3944a5ba1054602f17663b7d01d5e6821e3
parent5f4eecd5e903ec0f59f71e85f469ee2315b81550 (diff)
media: v4l2-dev.h: move open brace after struct video_device
The open brace should be after a struct of define, that's good for searching. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--include/media/v4l2-dev.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index 6a4afd4a7df2..5cf1edefb822 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -260,8 +260,7 @@ struct v4l2_file_operations {
* Only set @dev_parent if that can't be deduced from @v4l2_dev.
*/
-struct video_device
-{
+struct video_device {
#if defined(CONFIG_MEDIA_CONTROLLER)
struct media_entity entity;
struct media_intf_devnode *intf_devnode;

Privacy Policy