From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <felipe.balbi@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 2/4] usb: musb: add MODULE_ALIAS for udev module loading
Date: Mon, 23 Jun 2008 14:11:04 +0300 [thread overview]
Message-ID: <20080623111103.GN7741@atomide.com> (raw)
In-Reply-To: <1213351443-3336-3-git-send-email-felipe.balbi@nokia.com>
* Felipe Balbi <felipe.balbi@nokia.com> [080613 13:06]:
> platform drivers should add MODULE_ALIAS for allowing
> udev module loading.
Pushing today.
Tony
> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
> ---
> drivers/usb/musb/musb_core.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 5b92f21..75c3013 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -134,11 +134,13 @@ MODULE_PARM_DESC(debug, "initial debug message level");
>
> #define DRIVER_INFO DRIVER_DESC ", v" MUSB_VERSION
>
> -const char musb_driver_name[] = "musb_hdrc";
> +#define MUSB_DRIVER_NAME "musb_hdrc"
> +const char musb_driver_name[] = MUSB_DRIVER_NAME;
>
> MODULE_DESCRIPTION(DRIVER_INFO);
> MODULE_AUTHOR(DRIVER_AUTHOR);
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:" MUSB_DRIVER_NAME);
>
>
> /*-------------------------------------------------------------------------*/
> --
> 1.5.6.rc1
>
next prev parent reply other threads:[~2008-06-23 11:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 10:03 [PATCH 0/4] more musb/i2c patches Felipe Balbi
2008-06-13 10:04 ` [PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints Felipe Balbi
2008-06-13 10:04 ` [PATCH 2/4] usb: musb: add MODULE_ALIAS for udev module loading Felipe Balbi
2008-06-13 10:04 ` [PATCH 3/4] i2c: allow twl modules to be built as modules Felipe Balbi
2008-06-13 10:04 ` [PATCH 4/4] i2c: add MODULE_ALIAS to twl4030 drivers Felipe Balbi
2008-06-23 11:11 ` Tony Lindgren
2008-06-23 11:11 ` [PATCH 3/4] i2c: allow twl modules to be built as modules Tony Lindgren
2008-06-23 11:11 ` Tony Lindgren [this message]
2008-06-23 11:10 ` [PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints Tony Lindgren
2008-06-23 11:14 ` Felipe Balbi
2008-06-23 11:18 ` Tony Lindgren
2008-06-24 4:22 ` Gadiyar, Anand
2008-06-24 8:15 ` Felipe Balbi
2008-06-25 14:42 ` Dmitry Krivoschekov
2008-06-26 12:15 ` Tony Lindgren
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=20080623111103.GN7741@atomide.com \
--to=tony@atomide.com \
--cc=felipe.balbi@nokia.com \
--cc=linux-omap@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