# Re: libfdt: Add function to explicitly expand aliases

- From: Jon Loeliger \<hidden\>
- Date: 2008-10-02 13:55:28 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2008/10/8049224
- Thread: https://ratatoskr.run/linux-devicetree/2008/08/8049120/t.md

```text
> Kumar has already added alias expansion to fdt_path_offset().
> However, in some circumstances it may be convenient for the user of
> libfdt to explicitly get the string expansion of an alias.  This patch
> adds a function to do this, fdt_get_alias(), and uses it to implement
> fdt_path_offset().
> 
> Signed-off-by: David Gibson <redacted>

Applied.

jdl
```
