diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-12-09 06:39:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:52:22 -0400 |
commit | cf4b9211b5680cd9ca004232e517fb7ec5bf5316 (patch) | |
tree | 5bb830aa4e362d4d9b5774ebfaca1eb79e7db22a /drivers/media/Kconfig | |
parent | 02adb1cc765b8c29dc83c6602bda19003cce62f1 (diff) |
[media] media: Media device node support
The media_devnode structure provides support for registering and
unregistering character devices using a dynamic major number. Reference
counting is handled internally, making device drivers easier to write
without having to solve the open/disconnect race condition issue over
and over again.
The code is based on video/v4l2-dev.c.
[mchehab@redhat.com: Remove linux/smp_lock.h include to not break compilation on bisect]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r-- | drivers/media/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 81b3ba83cc65..2466f2b2ecfa 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -14,6 +14,19 @@ if MEDIA_SUPPORT | |||
14 | comment "Multimedia core support" | 14 | comment "Multimedia core support" |
15 | 15 | ||
16 | # | 16 | # |
17 | # Media controller | ||
18 | # | ||
19 | |||
20 | config MEDIA_CONTROLLER | ||
21 | bool "Media Controller API (EXPERIMENTAL)" | ||
22 | depends on EXPERIMENTAL | ||
23 | ---help--- | ||
24 | Enable the media controller API used to query media devices internal | ||
25 | topology and configure it dynamically. | ||
26 | |||
27 | This API is mostly used by camera interfaces in embedded platforms. | ||
28 | |||
29 | # | ||
17 | # V4L core and enabled API's | 30 | # V4L core and enabled API's |
18 | # | 31 | # |
19 | 32 | ||