commit | 60d599133011eaca6073696f6a86cd516854d547 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Tue Jun 08 07:48:25 2010 -0600 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sun Jul 18 22:39:36 2010 -0600 |
tree | 224ab8eea128c70db90320372f7dde0d79b95d2f | |
parent | f1d4c3a76981addcd7669f404f75041435a04e6a [diff] |
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 <grant.likely@secretlab.ca>