public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/1] ARM:OMAP: fix driver MODULE_ALIAS()
Date: Mon, 23 Jun 2008 13:38:42 +0300	[thread overview]
Message-ID: <20080623103840.GG7741@atomide.com> (raw)
In-Reply-To: <1213256414-12309-1-git-send-email-Hiroshi.DOYU@nokia.com>

* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080613 02:53]:
> Add a correct MODULE_ALIAS() entry for this driver to enable udev module
> loading.

Pushing today.

Tony

> 
> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> ---
>  drivers/input/keyboard/omap-twl4030keypad.c |    2 ++
>  drivers/input/touchscreen/tsc2005.c         |    2 +-
>  drivers/mmc/host/omap_hsmmc.c               |    3 ++-
>  drivers/rtc/rtc-twl4030.c                   |    2 +-
>  4 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/keyboard/omap-twl4030keypad.c b/drivers/input/keyboard/omap-twl4030keypad.c
> index 0344b4c..fc5d44e 100644
> --- a/drivers/input/keyboard/omap-twl4030keypad.c
> +++ b/drivers/input/keyboard/omap-twl4030keypad.c
> @@ -350,6 +350,7 @@ static struct platform_driver omap_kp_driver = {
>  	.remove		= omap_kp_remove,
>  	.driver		= {
>  		.name	= "omap_twl4030keypad",
> +		.owner	= THIS_MODULE,
>  	},
>  };
>  
> @@ -371,3 +372,4 @@ module_exit(omap_kp_exit);
>  MODULE_AUTHOR("Texas Instruments");
>  MODULE_DESCRIPTION("OMAP TWL4030 Keypad Driver");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:omap_twl4030keypad");
> diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
> index fa01799..93dc3c5 100644
> --- a/drivers/input/touchscreen/tsc2005.c
> +++ b/drivers/input/touchscreen/tsc2005.c
> @@ -734,4 +734,4 @@ module_exit(tsc2005_exit);
>  
>  MODULE_AUTHOR("Lauri Leukkunen <lauri.leukkunen@nokia.com>");
>  MODULE_LICENSE("GPL");
> -
> +MODULE_ALIAS("platform:tsc2005");
> diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
> index 9c18c15..d399dca 100644
> --- a/drivers/mmc/host/omap_hsmmc.c
> +++ b/drivers/mmc/host/omap_hsmmc.c
> @@ -1106,6 +1106,7 @@ static struct platform_driver omap_mmc_driver = {
>  	.resume		= omap_mmc_resume,
>  	.driver		= {
>  		.name = DRIVER_NAME,
> +		.owner = THIS_MODULE,
>  	},
>  };
>  
> @@ -1126,5 +1127,5 @@ module_exit(omap_mmc_cleanup);
>  
>  MODULE_DESCRIPTION("OMAP High Speed Multimedia Card driver");
>  MODULE_LICENSE("GPL");
> -MODULE_ALIAS(DRIVER_NAME);
> +MODULE_ALIAS("platform:" DRIVER_NAME);
>  MODULE_AUTHOR("Texas Instruments Inc");
> diff --git a/drivers/rtc/rtc-twl4030.c b/drivers/rtc/rtc-twl4030.c
> index ef0e175..7b0a4c5 100644
> --- a/drivers/rtc/rtc-twl4030.c
> +++ b/drivers/rtc/rtc-twl4030.c
> @@ -624,7 +624,7 @@ static int twl4030_rtc_resume(struct platform_device *pdev)
>  #define twl4030_rtc_resume  NULL
>  #endif
>  
> -MODULE_ALIAS("twl4030_rtc");
> +MODULE_ALIAS("platform:twl4030_rtc");
>  static struct platform_driver twl4030rtc_driver = {
>  	.probe 		= twl4030_rtc_probe,
>  	.remove 	= __devexit_p(twl4030_rtc_remove),
> -- 
> 1.5.5.1.357.g1af8b
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2008-06-23 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12  7:40 [PATCH 1/1] ARM:OMAP: fix driver MODULE_ALIAS() Hiroshi DOYU
2008-06-23 10:38 ` Tony Lindgren [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=20080623103840.GG7741@atomide.com \
    --to=tony@atomide.com \
    --cc=Hiroshi.DOYU@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