[POWERPC] CELLEB: Fix possible NULL pointer dereference

This adds checking for NULL returned value from of_get_property to
prevent possible NULL pointer dereference in the case when expected
properties are not present.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Cyrill Gorcunov 2007-11-29 18:44:18 +11:00 committed by Paul Mackerras
commit 3a1c81f4fa