]> err.no Git - linux-2.6/commit
[POWERPC] bootwrapper: Make ft_get_phandle() accept and return NULL.
authorScott Wood <scottwood@freescale.com>
Mon, 12 Mar 2007 20:41:45 +0000 (14:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 13 Mar 2007 10:15:50 +0000 (21:15 +1100)
commitc8aa72633e65c5c215b0cdd9970642e2a4f9a9a3
tree05e7ea880e68580fe654c1d4f6e50c0f52acc703
parent1c53a496ba6132a37f052aa907e23445b3fe928c
[POWERPC] bootwrapper: Make ft_get_phandle() accept and return NULL.

Currently, if ft_get_phandle() is passed NULL it will allocate an entry
for it and return a non-NULL phandle.  This patch makes it simply pass
the NULL through.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/flatdevtree.c