summaryrefslogtreecommitdiffstats
path: root/drivers/of/property.c
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2024-03-05 06:04:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-07 23:10:01 +0100
commit75cde56a5b504d07a64ce0e3f8c7410df70308a3 (patch)
tree6b360bf6277e2a2bbcd22d3235e8307c99ca42e5 /drivers/of/property.c
parentdebugfs: fix wait/cancellation handling during remove (diff)
downloadlinux-75cde56a5b504d07a64ce0e3f8c7410df70308a3.tar.xz
linux-75cde56a5b504d07a64ce0e3f8c7410df70308a3.zip
driver core: Adds flags param to fwnode_link_add()
Allow the callers to set fwnode link flags when adding fwnode links. Signed-off-by: Saravana Kannan <saravanak@google.com> Acked-by: "Rafael J. Wysocki" <rafael@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20240305050458.1400667-2-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of/property.c')
-rw-r--r--drivers/of/property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/property.c b/drivers/of/property.c
index b71267c6667c..bce849f21ae2 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -1085,7 +1085,7 @@ static void of_link_to_phandle(struct device_node *con_np,
tmp_np = of_get_next_parent(tmp_np);
}
- fwnode_link_add(of_fwnode_handle(con_np), of_fwnode_handle(sup_np));
+ fwnode_link_add(of_fwnode_handle(con_np), of_fwnode_handle(sup_np), 0);
}
/**