From: Jiri Slaby (SUSE) Date: Wed, 19 Mar 2025 09:29:02 +0000 (+0100) Subject: irqdomain: remoteproc: Switch to of_fwnode_handle() X-Git-Tag: v6.15-rc1~104^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5208cc34bb720649cebbf6e7e4e77feda0880cf0;p=thirdparty%2Fkernel%2Flinux.git 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) Cc: Bjorn Andersson Cc: Mathieu Poirier Cc: linux-remoteproc@vger.kernel.org Link: https://lore.kernel.org/r/20250319092951.37667-10-jirislaby@kernel.org Signed-off-by: Mathieu Poirier --- diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c index 1656574b73175..4a4eb9c0b1335 100644 --- a/drivers/remoteproc/pru_rproc.c +++ b/drivers/remoteproc/pru_rproc.c @@ -563,7 +563,7 @@ static int pru_handle_intrmap(struct rproc *rproc) return -ENODEV; } - fwspec.fwnode = of_node_to_fwnode(irq_parent); + fwspec.fwnode = of_fwnode_handle(irq_parent); fwspec.param_count = 3; for (i = 0; i < pru->evt_count; i++) { fwspec.param[0] = rsc->pru_intc_map[i].event;