From: Grant Likely Date: Tue, 8 Jun 2010 13:48:25 +0000 (-0600) Subject: of/flattree: Fix crash when device tree absent X-Git-Tag: v2.6.36-rc1~543^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d599133011eaca6073696f6a86cd516854d547;p=pandora-kernel.git of/flattree: Fix crash when device tree absent This patch fixes the condition where device tree support is compiled in, but no device tree was proved by firmware. It makes of_platform_bus_probe() explicitly check for a NULL device tree pointer. Signed-off-by: Grant Likely --- Reading git-diff-tree failed