diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-08-01 00:23:23 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-09-29 19:01:05 -0500 |
commit | f117c0f0731e99a5e468a300a71b34afa337e133 (patch) | |
tree | 1846f74d21de44cfd8b5b5c298699fa611655a25 /arch/powerpc/cpu | |
parent | e2d0f255cf730ba56c6531a1bdadd347800d9cca (diff) | |
download | u-boot-imx-f117c0f0731e99a5e468a300a71b34afa337e133.zip u-boot-imx-f117c0f0731e99a5e468a300a71b34afa337e133.tar.gz u-boot-imx-f117c0f0731e99a5e468a300a71b34afa337e133.tar.bz2 |
fdt: Rename fdt_create_phandle to fdt_set_phandle
The old fdt_create_phandle didn't actually create a phandle it just
set one. We'll introduce a new helper that actually does creation.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/portals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/portals.c b/arch/powerpc/cpu/mpc85xx/portals.c index 65635e7..418dd9d 100644 --- a/arch/powerpc/cpu/mpc85xx/portals.c +++ b/arch/powerpc/cpu/mpc85xx/portals.c @@ -151,7 +151,7 @@ static int fdt_qportal(void *blob, int off, int id, char *name, dev_handle = fdt_get_phandle(blob, dev_off); if (dev_handle <= 0) { dev_handle = fdt_alloc_phandle(blob); - ret = fdt_create_phandle(blob, dev_off, + ret = fdt_set_phandle(blob, dev_off, dev_handle); if (ret < 0) return ret; |