aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2009-12-09 06:39:56 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:52:22 -0400
commitcf4b9211b5680cd9ca004232e517fb7ec5bf5316 (patch)
tree5bb830aa4e362d4d9b5774ebfaca1eb79e7db22a /drivers/media/Makefile
parent02adb1cc765b8c29dc83c6602bda19003cce62f1 (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/Makefile')
-rw-r--r--drivers/media/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/Makefile b/drivers/media/Makefile
index b603ea645ede..d56349f6103f 100644
--- a/drivers/media/Makefile
+++ b/drivers/media/Makefile
@@ -2,6 +2,12 @@
2# Makefile for the kernel multimedia device drivers. 2# Makefile for the kernel multimedia device drivers.
3# 3#
4 4
5media-objs := media-devnode.o
6
7ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
8 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
9endif
10
5obj-y += common/ rc/ video/ 11obj-y += common/ rc/ video/
6 12
7obj-$(CONFIG_VIDEO_DEV) += radio/ 13obj-$(CONFIG_VIDEO_DEV) += radio/