[U-Boot] [PATCH] libfdt: Fix error in documentation for fdt_get_alias_namelen()

Jerry Van Baren gvb.uboot at gmail.com
Sat Oct 4 14:05:15 CEST 2008


Oops, screwed up the function name in the documenting comment for this
function.  Trivial correction in this patch.

Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
Acked-by: Gerald Van Baren <vanbaren at cideas.com>
---

Cut'n'paste error pointed out by Petri Lehtinen (thanks!).  I turned it
into a real git patch and applied it to u-boot-fdt.

Note to Jon: Because u-boot keeps the libfdt.h header in include/ rather
than in libfdt/, this needs to be trivially modified to apply it to the
dtc repo.  I'll send that to the linuxppd.dev list in a minute.

Best regards,
gvb

 include/libfdt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/libfdt.h b/include/libfdt.h
index 7cad68c..ce374fd 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -459,7 +459,7 @@ static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset);
 
 /**
- * fdt_get_namelen - get alias based on substring
+ * fdt_get_alias_namelen - get alias based on substring
  * @fdt: pointer to the device tree blob
  * @name: name of the alias th look up
  * @namelen: number of characters of name to consider
-- 
1.5.6.5



More information about the U-Boot mailing list