]> www.infradead.org Git - users/hch/misc.git/commitdiff
media: venus: core: Sort dt_match alphabetically.
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Thu, 14 Aug 2025 08:52:45 +0000 (10:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:16 +0000 (15:59 +0200)
Correctly sort the array of venus_dt_match entries.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/venus/core.c

index bc7b255357cfd30adae906900572c5889bc11eec..0ff48c92749c282fdbf64ea7e6f04e33d2d6c7f1 100644 (file)
@@ -1074,11 +1074,11 @@ static const struct of_device_id venus_dt_match[] = {
        { .compatible = "qcom,msm8916-venus", .data = &msm8916_res, },
        { .compatible = "qcom,msm8996-venus", .data = &msm8996_res, },
        { .compatible = "qcom,msm8998-venus", .data = &msm8998_res, },
+       { .compatible = "qcom,sc7180-venus", .data = &sc7180_res, },
+       { .compatible = "qcom,sc7280-venus", .data = &sc7280_res, },
        { .compatible = "qcom,sdm660-venus", .data = &sdm660_res, },
        { .compatible = "qcom,sdm845-venus", .data = &sdm845_res, },
        { .compatible = "qcom,sdm845-venus-v2", .data = &sdm845_res_v2, },
-       { .compatible = "qcom,sc7180-venus", .data = &sc7180_res, },
-       { .compatible = "qcom,sc7280-venus", .data = &sc7280_res, },
        { .compatible = "qcom,sm8250-venus", .data = &sm8250_res, },
        { }
 };