From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Andres Galacho <andresgalacho@gmail.com>
Cc: linux-kernel@vger.kernel.org, richard@nod.at,
dwmw2@infradead.org, computersforpeace@gmail.com,
marek.vasut@gmail.com, cyrille.pitchen@wedev4u.fr,
marc_gonzalez@sigmadesigns.com, linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] mtd: nand: tango: Export OF device ID table as module aliases
Date: Mon, 15 May 2017 22:47:51 +0200 [thread overview]
Message-ID: <20170515224751.60d34a50@bbrezillon> (raw)
In-Reply-To: <20170501203015.7275-1-andresgalacho@gmail.com>
On Mon, 1 May 2017 16:30:15 -0400
Andres Galacho <andresgalacho@gmail.com> wrote:
> The device table is required to load modules based on
> modaliases. After adding MODULE_DEVICE_TABLE, below entries
> for example will be added to module.alias:
> alias: of:N*T*Csigma,smp8758-nandC*
> alias: of:N*T*Csigma,smp8758-nand
>
> Signed-off-by: Andres Galacho <andresgalacho@gmail.com>
Applied to nand/fixes.
Thanks,
Boris
> ---
> drivers/mtd/nand/tango_nand.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> index 05b6e1065203..82fea9b4c358 100644
> --- a/drivers/mtd/nand/tango_nand.c
> +++ b/drivers/mtd/nand/tango_nand.c
> @@ -663,6 +663,7 @@ static const struct of_device_id tango_nand_ids[] = {
> { .compatible = "sigma,smp8758-nand" },
> { /* sentinel */ }
> };
> +MODULE_DEVICE_TABLE(of, tango_nand_ids);
>
> static struct platform_driver tango_nand_driver = {
> .probe = tango_nand_probe,
WARNING: multiple messages have this Message-ID (diff)
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mtd: nand: tango: Export OF device ID table as module aliases
Date: Mon, 15 May 2017 22:47:51 +0200 [thread overview]
Message-ID: <20170515224751.60d34a50@bbrezillon> (raw)
In-Reply-To: <20170501203015.7275-1-andresgalacho@gmail.com>
On Mon, 1 May 2017 16:30:15 -0400
Andres Galacho <andresgalacho@gmail.com> wrote:
> The device table is required to load modules based on
> modaliases. After adding MODULE_DEVICE_TABLE, below entries
> for example will be added to module.alias:
> alias: of:N*T*Csigma,smp8758-nandC*
> alias: of:N*T*Csigma,smp8758-nand
>
> Signed-off-by: Andres Galacho <andresgalacho@gmail.com>
Applied to nand/fixes.
Thanks,
Boris
> ---
> drivers/mtd/nand/tango_nand.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> index 05b6e1065203..82fea9b4c358 100644
> --- a/drivers/mtd/nand/tango_nand.c
> +++ b/drivers/mtd/nand/tango_nand.c
> @@ -663,6 +663,7 @@ static const struct of_device_id tango_nand_ids[] = {
> { .compatible = "sigma,smp8758-nand" },
> { /* sentinel */ }
> };
> +MODULE_DEVICE_TABLE(of, tango_nand_ids);
>
> static struct platform_driver tango_nand_driver = {
> .probe = tango_nand_probe,
next prev parent reply other threads:[~2017-05-15 20:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 20:30 [PATCH] mtd: nand: tango: Export OF device ID table as module aliases Andres Galacho
2017-05-01 20:30 ` Andres Galacho
2017-05-01 23:44 ` Brian Norris
2017-05-01 23:44 ` Brian Norris
2017-05-15 20:47 ` Boris Brezillon [this message]
2017-05-15 20:47 ` Boris Brezillon
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=20170515224751.60d34a50@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=andresgalacho@gmail.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=dwmw2@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marc_gonzalez@sigmadesigns.com \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.