Skip to content

Commit 0df316b

Browse files
Heikki Krogerusrafaeljw
authored andcommitted
ACPI: IORT: Handle device properties with software node API
The older device property API is going to be removed. Replacing the device_add_properties() call with software node API equivalent device_create_managed_software_node(). Fixes: 434b73e ("iommu/arm-smmu-v3: Use device properties for pasid-num-bits") Signed-off-by: Heikki Krogerus <[email protected]> Acked-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 3cd8015 commit 0df316b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/arm64/iort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ static void iort_named_component_init(struct device *dev,
976976
FIELD_GET(ACPI_IORT_NC_PASID_BITS,
977977
nc->node_flags));
978978

979-
if (device_add_properties(dev, props))
979+
if (device_create_managed_software_node(dev, props, NULL))
980980
dev_warn(dev, "Could not add device properties\n");
981981
}
982982

0 commit comments

Comments
 (0)