]> git.ipfire.org Git - thirdparty/linux.git/commit
remoteproc: imx_rproc: Move imx_rproc_dcfg closer to imx_rproc_of_match
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Sep 2025 07:11:46 +0000 (15:11 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 15 Sep 2025 16:03:02 +0000 (10:03 -0600)
commit11a8d3cb4c624a2b29e2fa1d8b5046f69b71b40f
treed7e976220f1f509d0b1fc4ea0f43a165b6170d98
parentff24e5b26dc6853364b0c006130b653f65a15acd
remoteproc: imx_rproc: Move imx_rproc_dcfg closer to imx_rproc_of_match

Move the imx_rproc_dcfg structure definitions closer to imx_rproc_of_match
to prepare for adding start/stop/detect_mode ops for each i.MX variant.

This relocation avoids the need to declare function prototypes such as
'static int imx_rproc_xtr_mbox_init(struct rproc *rproc, bool tx_block)'
at the beginning of the file, improving code organization and readability.

No functional changes.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250910-imx-rproc-cleanup-v2-2-10386685b8a9@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.c