]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
remoteproc: sysmon: Use the unified QMI service ID instead of defining it locally
authorDaniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Mon, 9 Mar 2026 23:03:33 +0000 (00:03 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 16 Mar 2026 02:05:45 +0000 (21:05 -0500)
Instead of defining a local macro with a custom name for the QMI
service identifier, use the one provided in qmi.h and remove the
locally defined macro.

Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260309230346.3584252-5-daniel.lezcano@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_sysmon.c

index cf10e8ecfb8f5fd535f7bb646ff077f20c1e098d..5bd4147f1f371d895e8aa7f162e17f39547869bd 100644 (file)
@@ -677,7 +677,7 @@ struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc,
                return ERR_PTR(ret);
        }
 
-       qmi_add_lookup(&sysmon->qmi, 43, 0, 0);
+       qmi_add_lookup(&sysmon->qmi, QMI_SERVICE_ID_SSCTL, 0, 0);
 
        sysmon->subdev.prepare = sysmon_prepare;
        sysmon->subdev.start = sysmon_start;