Skip to content

Commit 5208cc3

Browse files
Jiri Slaby (SUSE)mathieupoirier
authored andcommitted
irqdomain: remoteproc: Switch to of_fwnode_handle()
of_node_to_fwnode() is irqdomain's reimplementation of the "officially" defined of_fwnode_handle(). The former is in the process of being removed, so use the latter instead. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Cc: Bjorn Andersson <andersson@kernel.org> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: linux-remoteproc@vger.kernel.org Link: https://lore.kernel.org/r/20250319092951.37667-10-jirislaby@kernel.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
1 parent d290953 commit 5208cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/remoteproc/pru_rproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static int pru_handle_intrmap(struct rproc *rproc)
563563
return -ENODEV;
564564
}
565565

566-
fwspec.fwnode = of_node_to_fwnode(irq_parent);
566+
fwspec.fwnode = of_fwnode_handle(irq_parent);
567567
fwspec.param_count = 3;
568568
for (i = 0; i < pru->evt_count; i++) {
569569
fwspec.param[0] = rsc->pru_intc_map[i].event;

0 commit comments

Comments
 (0)