sunxi: dts: Fix typoed eMMC check
authorAndre Przywara <andre.przywara@arm.com>
Tue, 30 Nov 2021 23:18:54 +0000 (23:18 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 8 Dec 2021 23:06:56 +0000 (23:06 +0000)
Commit 03510bf62149 ("sunxi: only include alias for eMMC when mmc2
used") protected the eMMC alias in U-Boot's DT stub the with the
associated Kconfig symbol, but was actually using the wrong name.

Fix the name of the symbol to match what's defined in Kconfig and what
the defconfig files actually use.

Fixes: 03510bf62149 ("sunxi: only include alias for eMMC when mmc2 used")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reported-by: 5kft@5kft.org
Reviewed-by: Icenowy Zheng <icenowy@aosc.io>
arch/arm/dts/sunxi-u-boot.dtsi

index b7244c1..f2d7361 100644 (file)
@@ -13,7 +13,7 @@
 / {
        aliases {
                mmc0 = &mmc0;
-#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
+#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
                mmc1 = &mmc2;
 #endif
        };