diff options
-rw-r--r-- | drivers/of/address.c | 2 | ||||
-rw-r--r-- | drivers/of/irq.c | 1 |
2 files changed, 2 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, | |||
549 | r->end = taddr + size - 1; | 549 | r->end = taddr + size - 1; |
550 | } | 550 | } |
551 | r->flags = flags; | 551 | r->flags = flags; |
552 | r->name = dev->name; | 552 | r->name = dev->full_name; |
553 | return 0; | 553 | return 0; |
554 | } | 554 | } |
555 | 555 | ||
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 623eb661c629..6cfb307204c3 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c | |||
@@ -340,6 +340,7 @@ int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) | |||
340 | if (r && irq != NO_IRQ) { | 340 | if (r && irq != NO_IRQ) { |
341 | r->start = r->end = irq; | 341 | r->start = r->end = irq; |
342 | r->flags = IORESOURCE_IRQ; | 342 | r->flags = IORESOURCE_IRQ; |
343 | r->name = dev->full_name; | ||
343 | } | 344 | } |
344 | 345 | ||
345 | return irq; | 346 | return irq; |