OSDN Git Service

Merge tag 'iommu-updates-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git...
[uclinux-h8/linux.git] / drivers / acpi / arm64 / iort.c
index 9efe7bc..3b23fb7 100644 (file)
@@ -949,7 +949,7 @@ static void iort_named_component_init(struct device *dev,
        if (nc->node_flags & ACPI_IORT_NC_STALL_SUPPORTED)
                props[1] = PROPERTY_ENTRY_BOOL("dma-can-stall");
 
-       if (device_add_properties(dev, props))
+       if (device_create_managed_software_node(dev, props, NULL))
                dev_warn(dev, "Could not add device properties\n");
 }