From: Laurent Pinchart Date: Fri, 27 Nov 2009 16:57:22 +0000 (-0300) Subject: V4L/DVB (13552): v4l: Replace video_is_unregistered with video_is_registered X-Git-Tag: v2.6.33-rc1~70^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=957b4aa9f786cf04585a690a2e4c3dc867ce80e9;p=pandora-kernel.git V4L/DVB (13552): v4l: Replace video_is_unregistered with video_is_registered Replace the video_is_unregistered function by a video_is_registered function. The V4L2_FL_UNREGISTERED flag is replaced by a V4L2_FL_REGISTERED flag. This change makes the video_is_registered function return coherent results when called on an initialize but not yet registered video_device instance. The function can now be used instead of checking video_device::minor. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed