diff mbox series

sunxi: dts: Fix typoed eMMC check

Message ID 20211206015441.1207-1-andre.przywara@arm.com
State Accepted
Commit e32dad292ae1422eba1403964918eed220061769
Delegated to: Andre Przywara
Headers show
Series sunxi: dts: Fix typoed eMMC check | expand

Commit Message

Andre Przywara Dec. 6, 2021, 1:54 a.m. UTC
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
---
 arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Icenowy Zheng Dec. 8, 2021, 7 p.m. UTC | #1
在 2021-12-06星期一的 01:54 +0000,Andre Przywara写道:
> 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

LGTM. I am just too careless.

Reviewed-by: Icenowy Zheng <icenowy@aosc.io>

> ---
>  arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-
> boot.dtsi
> index b7244c1112a..f2d7361b84f 100644
> --- a/arch/arm/dts/sunxi-u-boot.dtsi
> +++ b/arch/arm/dts/sunxi-u-boot.dtsi
> @@ -13,7 +13,7 @@
>  / {
>         aliases {
>                 mmc0 = &mmc0;
> -#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
> +#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
>                 mmc1 = &mmc2;
>  #endif
>         };
diff mbox series

Patch

diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
index b7244c1112a..f2d7361b84f 100644
--- a/arch/arm/dts/sunxi-u-boot.dtsi
+++ b/arch/arm/dts/sunxi-u-boot.dtsi
@@ -13,7 +13,7 @@ 
 / {
 	aliases {
 		mmc0 = &mmc0;
-#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
+#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
 		mmc1 = &mmc2;
 #endif
 	};