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 /common/fdt_support.c | |
| parent | e2d0f255cf730ba56c6531a1bdadd347800d9cca (diff) | |
| download | olio-uboot-2014.01-f117c0f0731e99a5e468a300a71b34afa337e133.tar.xz olio-uboot-2014.01-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 'common/fdt_support.c')
| -rw-r--r-- | common/fdt_support.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/common/fdt_support.c b/common/fdt_support.c index 19b2ef6ea..8f7323d32 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1196,13 +1196,13 @@ int fdt_alloc_phandle(void *blob)  }  /* - * fdt_create_phandle: Create a phandle property for the given node + * fdt_set_phandle: Create a phandle property for the given node   *   * @fdt: ptr to device tree   * @nodeoffset: node to update   * @phandle: phandle value to set (must be unique) -*/ -int fdt_create_phandle(void *fdt, int nodeoffset, uint32_t phandle) + */ +int fdt_set_phandle(void *fdt, int nodeoffset, uint32_t phandle)  {  	int ret; |