From: Laurent Pinchart Date: Wed, 9 Dec 2009 11:39:56 +0000 (-0300) Subject: [media] media: Media device node support X-Git-Tag: v2.6.39-rc1~86^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf4b9211b5680cd9ca004232e517fb7ec5bf5316;p=pandora-kernel.git [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 Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed