From: Laurent Pinchart Date: Fri, 17 May 2013 10:31:04 +0000 (-0300) Subject: [media] v4l: of: Return an int in v4l2_of_parse_endpoint() X-Git-Tag: v3.14-rc1~20^2~281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff889b612ae3c36a537b8f023dd0201412de87f;p=pandora-kernel.git [media] v4l: of: Return an int in v4l2_of_parse_endpoint() When CONFIG_OF is not defined the v4l2_of_parse_endpoint() function is defined as a stub that returns -ENOSYS. Make the real function return an integer as well to be able to differentiate between the two cases. Signed-off-by: Laurent Pinchart Acked-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed