summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_amba.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpi_amba.c')
-rw-r--r--drivers/acpi/acpi_amba.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c
index 49b781a9cd97..ab8a4e0191b1 100644
--- a/drivers/acpi/acpi_amba.c
+++ b/drivers/acpi/acpi_amba.c
@@ -76,6 +76,7 @@ static int amba_handler_attach(struct acpi_device *adev,
case IORESOURCE_MEM:
if (!address_found) {
dev->res = *rentry->res;
+ dev->res.name = dev_name(&dev->dev);
address_found = true;
}
break;