Skip to content
Commit 60d59913 authored by Grant Likely's avatar Grant Likely
Browse files

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: default avatarGrant Likely <grant.likely@secretlab.ca>
parent f1d4c3a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment