X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fmedia%2Fv4l2-dev.h;h=73c9867d744c16ec4bf9b565da8901d20ed034ca;hb=6b5270d21202fcf6ae16a6266fed83a30ccece7a;hp=2058dd45e91547b849dfbb1a8ca000b470d8d862;hpb=276e79ee6b3ff670dc9c041178da4b61af456a27;p=cascardo%2Flinux.git diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 2058dd45e915..73c9867d744c 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h @@ -100,8 +100,10 @@ struct video_device Also note that vdev->minor is set to -1 if the registration failed. */ int __must_check video_register_device(struct video_device *vdev, int type, int nr); -int __must_check video_register_device_index(struct video_device *vdev, - int type, int nr, int index); + +/* Same as video_register_device, but no warning is issued if the desired + device node number was already in use. */ +int __must_check video_register_device_no_warn(struct video_device *vdev, int type, int nr); /* Unregister video devices. Will do nothing if vdev == NULL or vdev->minor < 0. */