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

Commit 62f0988e authored by David Brown's avatar David Brown
Browse files

msm: Remove extraneous ffa device check



The qsd8x50 board file contains a few references to machine_is_...
macros that are otherwise unused, and contain no machine definition.
The recent purge of unused machine definitions breaks the compilation
of this target.

Since the machine cannot ever be used, just remove the bogus checks.

Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
parent 0ce790e7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -160,9 +160,6 @@ static struct msm_mmc_platform_data qsd8x50_sdc1_data = {

static void __init qsd8x50_init_mmc(void)
{
	if (machine_is_qsd8x50_ffa() || machine_is_qsd8x50a_ffa())
		vreg_mmc = vreg_get(NULL, "gp6");
	else
	vreg_mmc = vreg_get(NULL, "gp5");

	if (IS_ERR(vreg_mmc)) {