From 5f7bfdd63094689af501fdef77423e0029c06622 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 5 Mar 2015 12:25:14 -0700 Subject: fdt: Export fdtdec_get_number() for general use This function is missing a prototype but is more widey useful. Add it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fdtdec.c') diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 1a0268a3f9f..915fe2444a8 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -918,7 +918,7 @@ int fdtdec_read_fmap_entry(const void *blob, int node, const char *name, return 0; } -static u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) +u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) { u64 number = 0; -- cgit v1.2.3