remoteproc: qcom_q6v5_pas: make adsp_segment_dump static
Subsystems (2)
PATCH 1/1 remoteproc: qcom_q6v5_pas: make adsp_segment_dump static
This patch fixes the following sparse warning:
drivers/remoteproc/qcom_q6v5_pas.c:108:6: sparse: warning: symbol 'adsp_segment_dump' was not declared. Should it be static?
No functional change intended.
Signed-off-by Min-Hua Chen <[email protected]>
--- drivers/remoteproc/qcom_q6v5_pas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/qcom_q6v5_pas.c +1 -1
@@ -105,7 +105,7 @@ struct qcom_adsp {struct qcom_scm_pas_metadata dtb_pas_metadata; }; -void adsp_segment_dump (struct rproc *rproc,struct rproc_dump_segment *segment, +static void adsp_segment_dump (struct rproc *rproc,struct rproc_dump_segment *segment,void *dest,size_t offset,size_t size) {struct qcom_adsp *adsp = rproc->priv;
Signature · 1 line
2.34.1