diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-06-08 15:48:25 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-19 06:39:36 +0200 |
commit | 60d599133011eaca6073696f6a86cd516854d547 (patch) | |
tree | 224ab8eea128c70db90320372f7dde0d79b95d2f /arch/x86 | |
parent | of/flattree: Use common ALIGN() macro instead of arch specific _ALIGN (diff) | |
download | linux-60d599133011eaca6073696f6a86cd516854d547.tar.xz linux-60d599133011eaca6073696f6a86cd516854d547.zip |
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>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions