diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-06-08 17:48:12 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-06 02:14:27 +0400 |
commit | d3571c3acfabb6f3a93b517b75d9b30eb7e8692e (patch) | |
tree | 5ab59980b9a07cda8e5e0937b0ea8581a09bc92e /drivers/of/address.c | |
parent | 3930f294d081c9e2a65f137a7d5fb6c161e4aa94 (diff) | |
download | linux-d3571c3acfabb6f3a93b517b75d9b30eb7e8692e.tar.xz |
of: Use full node name in resource structures
Resource names appear in human readable output, so when extracting IRQ
and address resources from a device tree node, use the full node name
to give proper context in places like /proc/iomem.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Michal Simek <monstr@monstr.eu>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: microblaze-uclinux@itee.uq.edu.au
CC: linuxppc-dev@ozlabs.org
Diffstat (limited to 'drivers/of/address.c')
-rw-r--r-- | drivers/of/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index 5c220c3a3acc..fcadb726d4f9 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -549,7 +549,7 @@ static int __of_address_to_resource(struct device_node *dev, const u32 *addrp, r->end = taddr + size - 1; } r->flags = flags; - r->name = dev->name; + r->name = dev->full_name; return 0; } |