projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
devicetree: add helper inline for retrieving a node's full name
[linux-2.6-block.git]
/
drivers
/
of
/
base.c
diff --git
a/drivers/of/base.c
b/drivers/of/base.c
index 85757952f12dc05970b2b6a690ec07ca17738c3f..9ec0a2f1b0280d48fadbd9c5dfaa6200669a45e0 100644
(file)
--- a/
drivers/of/base.c
+++ b/
drivers/of/base.c
@@
-1173,7
+1173,7
@@
static void of_alias_add(struct alias_prop *ap, struct device_node *np,
ap->stem[stem_len] = 0;
list_add_tail(&ap->link, &aliases_lookup);
pr_debug("adding DT alias:%s: stem=%s id=%i node=%s\n",
- ap->alias, ap->stem, ap->id,
np ? np->full_name : NULL
);
+ ap->alias, ap->stem, ap->id,
of_node_full_name(np)
);
}
/**