From: Sylwester Nawrocki Date: Fri, 7 Oct 2011 10:40:00 +0000 (-0300) Subject: [media] s5p-fimc: Allow probe() to succeed with null platform data X-Git-Tag: v3.2-rc7~30^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbf6f16ecc07e9f73107c1adf95013bce9f2cf6;p=pandora-kernel.git [media] s5p-fimc: Allow probe() to succeed with null platform data The "s5p-fimc-md" platform device platform_data is used to pass attached camera sensor data. Not allowing device probe() to succeed when it's null prevents using FIMC as a mem-to-mem device only. Fix this by removing the platform_data check against null and registering sensors only if platform_data is specified. Also add logging of the information which /dev/video is assigned to which device during probe(). Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed