]> Git Repo - linux.git/commitdiff
remoteproc: qcom_q6v5_pas: staticize adsp_segment_dump()
authorKrzysztof Kozlowski <[email protected]>
Sun, 7 May 2023 14:48:26 +0000 (16:48 +0200)
committerBjorn Andersson <[email protected]>
Wed, 14 Jun 2023 15:16:04 +0000 (08:16 -0700)
adsp_segment_dump() is not used outside of this unit, so add missing
static to fix:

  drivers/remoteproc/qcom_q6v5_pas.c:108:6: warning: no previous prototype for ‘adsp_segment_dump’ [-Wmissing-prototypes]

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
drivers/remoteproc/qcom_q6v5_pas.c

index ca0155f41dac15685499f3ca08c78595ea97d01b..3153d82037e717a713dab0d7dd21fa967d583fb5 100644 (file)
@@ -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;
This page took 0.065237 seconds and 4 git commands to generate.