The RPROC_ALIAS definition was introduced in remoteproc.h. Reuse it for of_alias_get_id()to to align alias handling across the code.
Signed-off-by: Arnaud Pouliquen <[email protected]> --- drivers/remoteproc/keystone_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/keystone_remoteproc.c b/drivers/remoteproc/keystone_remoteproc.c index 4d6550b48567..cf8288d17afd 100644 --- a/drivers/remoteproc/keystone_remoteproc.c +++ b/drivers/remoteproc/keystone_remoteproc.c @@ -378,7 +378,7 @@ static int keystone_rproc_probe(struct platform_device *pdev) return -ENODEV; } - dsp_id = of_alias_get_id(np, "rproc"); + dsp_id = of_alias_get_id(np, RPROC_ALIAS); if (dsp_id < 0) { dev_warn(dev, "device does not have an alias id\n"); return dsp_id; -- 2.43.0

