diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 17:58:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 17:58:31 -0400 |
commit | ff9a082fda424257976f08fce942609f358015e0 (patch) | |
tree | 478e6b449b19baaf842369a13923499ce83ef895 /drivers/media/v4l2-core/v4l2-dev.c | |
parent | 6a492b0f23d28e1f946cdf08e54617484400dafb (diff) | |
parent | 85538b1ad145c67198cb55d02de14ba269cc323d (diff) |
Merge tag 'media/v4.8-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media documentation updates from Mauro Carvalho Chehab:
"This patch series does the conversion of all media documentation stuff
to Restrutured Text markup format and add them to the
Documentation/index.rst file.
The media documentation was grouped into 4 books:
- media uAPI
- media kAPI
- V4L driver-specific documentation
- DVB driver-specific documentation
It also contains several documentation improvements and one fixup
patch for a core issue with cropcap.
PS. After this patch series, the media DocBook is deprecated and
should be removed. I'll add such patch on a future pull request"
* tag 'media/v4.8-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (322 commits)
[media] cx23885-cardlist.rst: add a new card
[media] doc-rst: add some needed escape codes
[media] doc-rst: kapi: use :c:func: instead of :cpp:func
doc-rst: kernel-doc: fix a change introduced by mistake
[media] v4l2-ioctl.h add debug info for struct v4l2_ioctl_ops
[media] dvb_ringbuffer.h: some documentation improvements
[media] v4l2-ctrls.h: fully document the header file
[media] doc-rst: Fix some typedef ugly warnings
[media] doc-rst: reorganize the kAPI v4l2 chapters
[media] rename v4l2-framework.rst to v4l2-intro.rst
[media] move V4L2 clocks to a separate .rst file
[media] v4l2-fh.rst: add cross references and markups
[media] v4l2-fh.rst: add fh contents from v4l2-framework.rst
[media] v4l2-fh.h: add documentation for it
[media] v4l2-event.rst: add cross-references and markups
[media] v4l2-event.h: document all functions
[media] v4l2-event.rst: add text from v4l2-framework.rst
[media] v4l2-framework.rst: remove videobuf quick chapter
[media] v4l2-dev: add cross-references and improve markup
[media] doc-rst: move v4l2-dev doc to a separate file
...
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-dev.c')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-dev.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-core/v4l2-dev.c index 70b559d7ca80..e6da353b39bc 100644 --- a/drivers/media/v4l2-core/v4l2-dev.c +++ b/drivers/media/v4l2-core/v4l2-dev.c | |||
@@ -812,40 +812,6 @@ static int video_register_media_controller(struct video_device *vdev, int type) | |||
812 | return 0; | 812 | return 0; |
813 | } | 813 | } |
814 | 814 | ||
815 | /** | ||
816 | * __video_register_device - register video4linux devices | ||
817 | * @vdev: video device structure we want to register | ||
818 | * @type: type of device to register | ||
819 | * @nr: which device node number (0 == /dev/video0, 1 == /dev/video1, ... | ||
820 | * -1 == first free) | ||
821 | * @warn_if_nr_in_use: warn if the desired device node number | ||
822 | * was already in use and another number was chosen instead. | ||
823 | * @owner: module that owns the video device node | ||
824 | * | ||
825 | * The registration code assigns minor numbers and device node numbers | ||
826 | * based on the requested type and registers the new device node with | ||
827 | * the kernel. | ||
828 | * | ||
829 | * This function assumes that struct video_device was zeroed when it | ||
830 | * was allocated and does not contain any stale date. | ||
831 | * | ||
832 | * An error is returned if no free minor or device node number could be | ||
833 | * found, or if the registration of the device node failed. | ||
834 | * | ||
835 | * Zero is returned on success. | ||
836 | * | ||
837 | * Valid types are | ||
838 | * | ||
839 | * %VFL_TYPE_GRABBER - A frame grabber | ||
840 | * | ||
841 | * %VFL_TYPE_VBI - Vertical blank data (undecoded) | ||
842 | * | ||
843 | * %VFL_TYPE_RADIO - A radio card | ||
844 | * | ||
845 | * %VFL_TYPE_SUBDEV - A subdevice | ||
846 | * | ||
847 | * %VFL_TYPE_SDR - Software Defined Radio | ||
848 | */ | ||
849 | int __video_register_device(struct video_device *vdev, int type, int nr, | 815 | int __video_register_device(struct video_device *vdev, int type, int nr, |
850 | int warn_if_nr_in_use, struct module *owner) | 816 | int warn_if_nr_in_use, struct module *owner) |
851 | { | 817 | { |