diff options
| author | Saravana Kannan <[email protected]> | 2024-03-04 21:04:54 -0800 | 
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 22:10:01 +0000 | 
| commit | 75cde56a5b504d07a64ce0e3f8c7410df70308a3 (patch) | |
| tree | 6b360bf6277e2a2bbcd22d3235e8307c99ca42e5 /drivers/firmware/efi/sysfb_efi.c | |
| parent | 952c3fce297f12c7ff59380adb66b564e2bc9b64 (diff) | |
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 <[email protected]>
Acked-by: "Rafael J. Wysocki" <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/firmware/efi/sysfb_efi.c')
| -rw-r--r-- | drivers/firmware/efi/sysfb_efi.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/firmware/efi/sysfb_efi.c b/drivers/firmware/efi/sysfb_efi.c index 456d0e5eaf78..cc807ed35aed 100644 --- a/drivers/firmware/efi/sysfb_efi.c +++ b/drivers/firmware/efi/sysfb_efi.c @@ -336,7 +336,7 @@ static int efifb_add_links(struct fwnode_handle *fwnode)  	if (!sup_np)  		return 0; -	fwnode_link_add(fwnode, of_fwnode_handle(sup_np)); +	fwnode_link_add(fwnode, of_fwnode_handle(sup_np), 0);  	of_node_put(sup_np);  	return 0; |