From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Fabio Estevam <fabio.estevam@freescale.com>
Cc: linux-can@vger.kernel.org, festevam@gmail.com
Subject: Re: [PATCH 2/2] flexcan: Add MODULE_ALIAS
Date: Mon, 22 Jul 2013 16:55:21 +0200 [thread overview]
Message-ID: <51ED47D9.6070703@pengutronix.de> (raw)
In-Reply-To: <1374502981-16282-2-git-send-email-fabio.estevam@freescale.com>
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
On 07/22/2013 04:23 PM, Fabio Estevam wrote:
> Add MODULE_ALIAS, so that auto module loading can work.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> drivers/net/can/flexcan.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
> index 0516fd8..cd25af0 100644
> --- a/drivers/net/can/flexcan.c
> +++ b/drivers/net/can/flexcan.c
> @@ -1156,6 +1156,7 @@ static struct platform_driver flexcan_driver = {
>
> module_platform_driver(flexcan_driver);
>
> +MODULE_ALIAS("platform:" DRV_NAME);
> MODULE_AUTHOR("Sascha Hauer <kernel@pengutronix.de>, "
> "Marc Kleine-Budde <kernel@pengutronix.de>");
> MODULE_LICENSE("GPL v2");
>
Do we need a MODULE_ALIAS, if we have both a MODULE_DEVICE_TABLE(of,
flexcan_of_match) and MODULE_DEVICE_TABLE(platform, flexcan_id_table)?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
next prev parent reply other threads:[~2013-07-22 14:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 14:23 [PATCH 1/2] flexcan: Use devm_ioremap_resource() Fabio Estevam
2013-07-22 14:23 ` [PATCH 2/2] flexcan: Add MODULE_ALIAS Fabio Estevam
2013-07-22 14:55 ` Marc Kleine-Budde [this message]
2013-07-22 14:53 ` [PATCH 1/2] flexcan: Use devm_ioremap_resource() Marc Kleine-Budde
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=51ED47D9.6070703@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=fabio.estevam@freescale.com \
--cc=festevam@gmail.com \
--cc=linux-can@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 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.