From aaebb900c60c12110f6dd2ae5ec3dc83984f8a18 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Mon, 11 Jan 2021 21:11:35 +0100 Subject: mmc: sunxi: Replace H6 ifdefs with H6 gen macro It turns out that several SoCs share same mmc configuration as H6. In order to lower ifdef clutter replace H6 specific macro with common one. Signed-off-by: Jernej Skrabec Reviewed-by: Andre Przywara Reviewed-by: Jaehoon Chung Signed-off-by: Andre Przywara --- arch/arm/include/asm/arch-sunxi/mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/include/asm/arch-sunxi/mmc.h b/arch/arm/include/asm/arch-sunxi/mmc.h index f2deafd..340e25b 100644 --- a/arch/arm/include/asm/arch-sunxi/mmc.h +++ b/arch/arm/include/asm/arch-sunxi/mmc.h @@ -45,7 +45,7 @@ struct sunxi_mmc { u32 chda; /* 0x90 */ u32 cbda; /* 0x94 */ u32 res2[26]; -#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_MACH_SUN50I_H6) +#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6) u32 res3[17]; u32 samp_dl; u32 res4[46]; -- cgit v1.1