summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorGerald Van Baren <gvb@unssw.com>2012-11-12 23:13:54 -0500
committerGerald Van Baren <gvb@unssw.com>2012-11-12 23:13:54 -0500
commit7cde397b21a347134a39c40e24355a0e438adae3 (patch)
treef5f8872b0d4789e80128331139198d4e80f42479 /lib/fdtdec.c
parent5921f6a2924827548caf55b28a6827b9d856e37f (diff)
downloadu-boot-imx-7cde397b21a347134a39c40e24355a0e438adae3.zip
u-boot-imx-7cde397b21a347134a39c40e24355a0e438adae3.tar.gz
u-boot-imx-7cde397b21a347134a39c40e24355a0e438adae3.tar.bz2
fdt: Export fdtdec_lookup() and fix the name
The name of this function is not consistent, so fix it, and export the function for external use. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 32f03cc..96f3e7b 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -128,7 +128,7 @@ int fdtdec_get_is_enabled(const void *blob, int node)
return 1;
}
-enum fdt_compat_id fd_dec_lookup(const void *blob, int node)
+enum fdt_compat_id fdtdec_lookup(const void *blob, int node)
{
enum fdt_compat_id id;