mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
cf4b9211b5
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>
15 lines
268 B
Makefile
15 lines
268 B
Makefile
#
|
|
# Makefile for the kernel multimedia device drivers.
|
|
#
|
|
|
|
media-objs := media-devnode.o
|
|
|
|
ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
|
|
obj-$(CONFIG_MEDIA_SUPPORT) += media.o
|
|
endif
|
|
|
|
obj-y += common/ rc/ video/
|
|
|
|
obj-$(CONFIG_VIDEO_DEV) += radio/
|
|
obj-$(CONFIG_DVB_CORE) += dvb/
|