summaryrefslogtreecommitdiffstats
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-08-01 00:23:23 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-09-29 19:01:05 -0500
commitf117c0f0731e99a5e468a300a71b34afa337e133 (patch)
tree1846f74d21de44cfd8b5b5c298699fa611655a25 /include/fdt_support.h
parente2d0f255cf730ba56c6531a1bdadd347800d9cca (diff)
downloadblackbird-obmc-uboot-f117c0f0731e99a5e468a300a71b34afa337e133.tar.gz
blackbird-obmc-uboot-f117c0f0731e99a5e468a300a71b34afa337e133.zip
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 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 863024ff77..fdb9307703 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -89,7 +89,7 @@ u64 fdt_translate_address(void *blob, int node_offset, const u32 *in_addr);
int fdt_node_offset_by_compat_reg(void *blob, const char *compat,
phys_addr_t compat_off);
int fdt_alloc_phandle(void *blob);
-int fdt_create_phandle(void *fdt, int nodeoffset, uint32_t phandle);
+int fdt_set_phandle(void *fdt, int nodeoffset, uint32_t phandle);
int fdt_add_edid(void *blob, const char *compat, unsigned char *buf);
int fdt_verify_alias_address(void *fdt, int anode, const char *alias,
OpenPOWER on IntegriCloud