[media] v4l: Don't register media entities for subdev device nodes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 8 Apr 2011 12:04:06 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Apr 2011 14:29:19 +0000 (11:29 -0300)
commitc4f0b78ad5d0e76caaeb5c2349c2613728c816bc
tree8eea40f10349a2543bc45bcf8776ef7e634405c2
parente2241531a5d015b55cdddd488f6f3477c785f34e
[media] v4l: Don't register media entities for subdev device nodes

Subdevs already have their own entity, don't register as second one when
registering the subdev device node.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c