Skip to contentSkip to conversation

libfdt: Fix error in documentation for fdt_get_alias_namelen()

PATCH New Jerry Van Baren 1 participant 1 message Oct 4, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libfdt: Fix error in documentation for fdt_get_alias_namelen()

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

---

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(-)
include/libfdt.h +1 -1
index 7cad68c..ce374fd 100644
@@ -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
Signature · 1 line
1.5.6.5