media: v4l2-dev.h: move open brace after struct video_device
authorYajun Deng <yajun.deng@linux.dev>
Wed, 15 Sep 2021 09:45:09 +0000 (11:45 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 Oct 2021 07:37:21 +0000 (09:37 +0200)
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>
include/media/v4l2-dev.h

index 6a4afd4a7df2ed0bbabe6b7f1aff3baee261ff9b..5cf1edefb822dc7c77dec06d76109cdfacf8f8e6 100644 (file)
@@ -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;