From: Ulf Hansson <ulf.hansson@linaro.org>
To: Faiz Abbas <faiz_abbas@ti.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [PATCH] mmc: sdhci_am654: Fix module autoload
Date: Fri, 9 Oct 2020 09:00:05 +0200 [thread overview]
Message-ID: <CAPDyKFpixCO35ARA9QBfhcdkhFpiqqWCxDrJnOF7g+AiY_P9Kg@mail.gmail.com> (raw)
In-Reply-To: <20201008100129.13917-1-faiz_abbas@ti.com>
On Thu, 8 Oct 2020 at 12:01, Faiz Abbas <faiz_abbas@ti.com> wrote:
>
> Add a MODULE_DEVICE_TABLE() entry so that the driver is autoloaded
> when built as a module.
>
> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/sdhci_am654.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
> index 2bce962bf7e4..a64ea143d185 100644
> --- a/drivers/mmc/host/sdhci_am654.c
> +++ b/drivers/mmc/host/sdhci_am654.c
> @@ -739,6 +739,7 @@ static const struct of_device_id sdhci_am654_of_match[] = {
> },
> { /* sentinel */ }
> };
> +MODULE_DEVICE_TABLE(of, sdhci_am654_of_match);
>
> static int sdhci_am654_probe(struct platform_device *pdev)
> {
> --
> 2.17.1
>
prev parent reply other threads:[~2020-10-09 7:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 10:01 [PATCH] mmc: sdhci_am654: Fix module autoload Faiz Abbas
2020-10-09 7:00 ` Ulf Hansson [this message]
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=CAPDyKFpixCO35ARA9QBfhcdkhFpiqqWCxDrJnOF7g+AiY_P9Kg@mail.gmail.com \
--to=ulf.hansson@linaro.org \
--cc=adrian.hunter@intel.com \
--cc=faiz_abbas@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).