Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp334723yba; Sat, 4 May 2019 03:27:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx8+E7EyApgOZlfeO5s+pL6d9555mQW47rJD3bfCywQFrCQvdHi7cyG41xrqWgxg2WIeSO X-Received: by 2002:a17:902:28ab:: with SMTP id f40mr17890937plb.297.1556965659989; Sat, 04 May 2019 03:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556965659; cv=none; d=google.com; s=arc-20160816; b=w1PNQ8M3Jbhzyj1F4stoXUEucITYUeIrcPf9UGHAuVE2HEEaofEZnHhUmIsh9fD4WE sDEprJnVVZgYEopT57tDMc4TrKeUKxnsrMes+iBnwMQR2taWcefSyoqqb0kBeN3yn2Jz d89XGKgAKGQPGCNNh4oLjB5xbNFAwzLdcdg5Juf0C+G44vJsZSbT3B3WcIYd5ss4as54 xui24Y2A7DxTbWD2LG393LZwwpEb6dE29mnpicFypxZMFBtePJ8udKL0QFujP37lYTbz 10QjfMqWZAV5+xOhuCrOwZakEJkVW8/ejml7Z7nTJzv2ABOrMfW3IqY1uomMlGAdk/24 GXhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:cc:subject:date:to :from; bh=k/KFGAbNPOrXZdDV0oECr29gOFChnbxH8Ql2yequ5FA=; b=sDcLELttc6V68qtsE4Fb+OIEK0xd1T+ugEIZxvddSeDuj0Waz9KtlrTy50CBJtnkkL nwBS+DCQSsJ6pgd/mtL7Q+iVM2uFXZC3302X0BhigNIMej2513Mt/JAsQFUvId3/93TL cvedhHd0rytoz3taJvmcb3FqHSHIwkBP8D8jmMKsOn5oyv6MLejvwniGM3e3YzsGfWwn 5HtTnxqkR12VJpZ5UIuhoLJR96ekrBh6RWRuGwNTczl5YLOapC4FqlI+GLuApaQZ2boU Ey8Mb2xgpIap5RN+Xd/kl2VgJA7pzOECSX/sbANCIWgQUnXM2B7gcnmu8kf3P/AxhohH vQDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q142si6625262pfq.175.2019.05.04.03.27.25; Sat, 04 May 2019 03:27:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbfEDK0L (ORCPT + 99 others); Sat, 4 May 2019 06:26:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:48518 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727582AbfEDK0I (ORCPT ); Sat, 4 May 2019 06:26:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2711EAF03; Sat, 4 May 2019 10:26:07 +0000 (UTC) From: NeilBrown To: Ulf Hansson , Chaotian Jing Date: Sat, 04 May 2019 20:24:57 +1000 Subject: [PATCH 4/4] mmc: mtk-sd: select REGULATOR Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, thirtythreeforty@gmail.com Message-ID: <155696549700.8632.10790498625986428152.stgit@noble.brown> In-Reply-To: <155696540998.8632.5242582397805128125.stgit@noble.brown> References: <155696540998.8632.5242582397805128125.stgit@noble.brown> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mtk-sd driver requires a regulator to be present, even if it is the "fixed" regulator. So select REGULATOR to make it hard to build unusable configurations. Signed-off-by: NeilBrown --- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 9c01310a0d2e..1249cde7004d 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -941,6 +941,7 @@ config MMC_BCM2835 config MMC_MTK tristate "MediaTek SD/MMC Card Interface support" depends on HAS_DMA + select REGULATOR help This selects the MediaTek(R) Secure digital and Multimedia card Interface. If you have a machine with a integrated SD/MMC card reader, say Y or M here.