mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Brian Masney <bmasney@redhat.com>, Ulf Hansson <ulf.hansson@linaro.org>
Cc: <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] mmc: sdhci-pic32: allow driver to be compiled with COMPILE_TEST
Date: Mon, 23 Feb 2026 11:39:07 +0200	[thread overview]
Message-ID: <1c71bbc1-db98-4a0c-8b78-e40bc13cc738@intel.com> (raw)
In-Reply-To: <20260222-mmc-pic32-v1-2-110382af02b0@redhat.com>

On 23/02/2026 01:39, Brian Masney wrote:
> This driver currently only supports builds against a PIC32 target. Now
> that commit d6618d277c1a ("mmc: sdhci-pic32: update include to use
> pic32.h from platform_data") is merged, it's possible to compile this
> driver on other architectures.
> 
> To avoid future breakage of this driver in the future, let's update the
> Kconfig so that it can be built with COMPILE_TEST enabled on all
> architectures.
> 
> Signed-off-by: Brian Masney <bmasney@redhat.com>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 6d79cc9a79e22d80bdb8977a8182d814ab91927f..4ca55c025159ee4c6b70dfff0ea3a44ecad98ff3 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -1044,7 +1044,7 @@ config MMC_MTK
>  
>  config MMC_SDHCI_MICROCHIP_PIC32
>  	tristate "Microchip PIC32MZDA SDHCI support"
> -	depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
> +	depends on MMC_SDHCI && MMC_SDHCI_PLTFM && (PIC32MZDA || COMPILE_TEST)
>  	help
>  	  This selects the Secure Digital Host Controller Interface (SDHCI)
>  	  for PIC32MZDA platform.
> 


  reply	other threads:[~2026-02-23  9:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-22 23:39 [PATCH 0/2] " Brian Masney
2026-02-22 23:39 ` [PATCH 1/2] mmc: sdhci-pic32: add SPDX license identifier Brian Masney
2026-02-23  9:38   ` Adrian Hunter
2026-02-22 23:39 ` [PATCH 2/2] mmc: sdhci-pic32: allow driver to be compiled with COMPILE_TEST Brian Masney
2026-02-23  9:39   ` Adrian Hunter [this message]
2026-02-23 14:13 ` [PATCH 0/2] " Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c71bbc1-db98-4a0c-8b78-e40bc13cc738@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=bmasney@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®