]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: mmc: Sort compatible strings numerically
authorSamuel Holland <samuel@sholland.org>
Tue, 31 Oct 2023 05:22:34 +0000 (00:22 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 12 Nov 2023 16:46:32 +0000 (16:46 +0000)
commit 95168d77d391 ("sunxi: add Allwinner R528/T113 SoC support") added
the new entry out of order.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sunxi_mmc.c

index 6162ab9eb1771fc9dd30bc506437bfe23f5bfebb..714706d2411b851d663eb665e967ed0f59e0c6a3 100644 (file)
@@ -705,13 +705,13 @@ static const struct udevice_id sunxi_mmc_ids[] = {
        { .compatible = "allwinner,sun7i-a20-mmc" },
        { .compatible = "allwinner,sun8i-a83t-emmc" },
        { .compatible = "allwinner,sun9i-a80-mmc" },
+       { .compatible = "allwinner,sun20i-d1-mmc" },
        { .compatible = "allwinner,sun50i-a64-mmc" },
        { .compatible = "allwinner,sun50i-a64-emmc" },
        { .compatible = "allwinner,sun50i-h6-mmc" },
        { .compatible = "allwinner,sun50i-h6-emmc" },
        { .compatible = "allwinner,sun50i-a100-mmc" },
        { .compatible = "allwinner,sun50i-a100-emmc" },
-       { .compatible = "allwinner,sun20i-d1-mmc" },
        { /* sentinel */ }
 };