Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4916c24 authored by Linus Walleij's avatar Linus Walleij Committed by Ulf Hansson
Browse files

sh: ecovec24: Fix an ifdef



I managed to put the ifdef/else statements wrong when
registering the GPIO descriptor table for MMC CD/WP.
Fixing it up!

Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fixes: babd0b238d11 ("mmc: host: tmio: Use GPIO descriptors")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent b11c36d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1460,9 +1460,9 @@ static int __init arch_setup(void)
#if defined(CONFIG_MMC_SDHI) || defined(CONFIG_MMC_SDHI_MODULE)
	gpiod_add_lookup_table(&sdhi0_power_gpiod_table);
	gpiod_add_lookup_table(&sdhi0_gpio_table);
#endif
#if !defined(CONFIG_MMC_SH_MMCIF) && !defined(CONFIG_MMC_SH_MMCIF_MODULE)
	gpiod_add_lookup_table(&sdhi1_gpio_table);
#endif
#endif

	return platform_add_devices(ecovec_devices,