summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/tw5864
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-02-03 12:41:17 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 16:53:50 +0100
commit3e30a927af3ca86f6556faf437da44ca8bcf54a4 (patch)
tree795b0666035496046d283c7ff89f6b7ef45f5427 /drivers/media/pci/tw5864
parentmedia: media/i2c/video-i2c: rename VFL_TYPE_GRABBER to _VIDEO (diff)
downloadlinux-3e30a927af3ca86f6556faf437da44ca8bcf54a4.tar.xz
linux-3e30a927af3ca86f6556faf437da44ca8bcf54a4.zip
media: media/pci: rename VFL_TYPE_GRABBER to _VIDEO
'GRABBER' is a weird name, all other types map to the /dev device names. Rename to 'VIDEO' to be consistent with the other types. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/tw5864')
-rw-r--r--drivers/media/pci/tw5864/tw5864-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/tw5864/tw5864-video.c b/drivers/media/pci/tw5864/tw5864-video.c
index 09732eed7eb4..ec1e06da7e4f 100644
--- a/drivers/media/pci/tw5864/tw5864-video.c
+++ b/drivers/media/pci/tw5864/tw5864-video.c
@@ -1156,7 +1156,7 @@ static int tw5864_video_input_init(struct tw5864_input *input, int video_nr)
input->gop = GOP_SIZE;
input->frame_interval = 1;
- ret = video_register_device(&input->vdev, VFL_TYPE_GRABBER, video_nr);
+ ret = video_register_device(&input->vdev, VFL_TYPE_VIDEO, video_nr);
if (ret)
goto free_v4l2_hdl;