media: bcm2835-camera: rename VFL_TYPE_GRABBER to _VIDEO
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 3 Feb 2020 11:41:11 +0000 (12:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 15:52:49 +0000 (16:52 +0100)
'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>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c

index 1ef31a9..597acef 100644 (file)
@@ -1776,7 +1776,7 @@ static int bm2835_mmal_init_device(struct bm2835_mmal_dev *dev,
        video_set_drvdata(vfd, dev);
 
        ret = video_register_device(vfd,
-                                   VFL_TYPE_GRABBER,
+                                   VFL_TYPE_VIDEO,
                                    video_nr[dev->camera_num]);
        if (ret < 0)
                return ret;