All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Jan Luebbe <jlu@pengutronix.de>
Cc: linux-mmc@vger.kernel.org,
	davinci-linux-open-source@linux.davincidsp.com
Subject: Re: [PATCH] davinci_mmc: set MODULE_ALIAS to allow autoloading
Date: Tue, 10 Apr 2012 10:10:42 -0400	[thread overview]
Message-ID: <87k41nwucd.fsf@laptop.org> (raw)
In-Reply-To: <1333613108-28607-1-git-send-email-jlu@pengutronix.de> (Jan Luebbe's message of "Thu, 5 Apr 2012 10:05:08 +0200")

Hi Jan,

On Thu, Apr 05 2012, Jan Luebbe wrote:
> Davinci MMC platform devices (as in mach-davinci/devices-da8xx.c) use
> "davinci_mmc" as their name. To allow autoloading of the relevant
> driver, the module needs to set the MODULE_ALIAS.
>
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
> ---
>  drivers/mmc/host/davinci_mmc.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index c1f3673..7cf6c62 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -1533,4 +1533,5 @@ module_exit(davinci_mmcsd_exit);
>  MODULE_AUTHOR("Texas Instruments India");
>  MODULE_LICENSE("GPL");
>  MODULE_DESCRIPTION("MMC/SD driver for Davinci MMC controller");
> +MODULE_ALIAS("platform:davinci_mmc");
>  

Thanks, pushed to mmc-next for 3.5.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

      reply	other threads:[~2012-04-10 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  8:05 [PATCH] davinci_mmc: set MODULE_ALIAS to allow autoloading Jan Luebbe
2012-04-10 14:10 ` Chris Ball [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=87k41nwucd.fsf@laptop.org \
    --to=cjb@laptop.org \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=jlu@pengutronix.de \
    --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 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.