From: Andrew Morton <akpm@linux-foundation.org>
To: David Brownell <david-b@pacbell.net>
Cc: kay.sievers@vrfy.org, mreimer@vpop.net,
Anton Vorontsov <avorontsov@ru.mvista.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [patch 2.6.26-rc8] drivers/power: fix platform driver hotplug/coldplug
Date: Wed, 2 Jul 2008 01:49:06 -0700 [thread overview]
Message-ID: <20080702014906.6303fd97.akpm@linux-foundation.org> (raw)
In-Reply-To: <200807020013.14579.david-b@pacbell.net>
On Wed, 2 Jul 2008 00:13:14 -0700 David Brownell <david-b@pacbell.net> wrote:
> From: Kay Sievers <kay.sievers@vrfy.org>
>
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf
Linus chucks a wobbly if we quote bare SHA hashes at him. I updated
the changelog appropriately.
>, the platform
> modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
> hotpluggable "power" drivers drivers, to re-enable auto loading.
>
> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
> [ dbrownell@users.sourceforge.net: one was missing ]
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
> drivers/power/ds2760_battery.c | 2 ++
> drivers/power/pda_power.c | 2 ++
> 2 files changed, 4 insertions(+)
>
> --- a/drivers/power/ds2760_battery.c 2008-07-01 23:49:46.000000000 -0700
> +++ b/drivers/power/ds2760_battery.c 2008-07-01 23:51:48.000000000 -0700
> @@ -433,6 +433,8 @@ static int ds2760_battery_resume(struct
>
> #endif /* CONFIG_PM */
>
> +MODULE_ALIAS("platform:ds2760-battery");
> +
> static struct platform_driver ds2760_battery_driver = {
> .driver = {
> .name = "ds2760-battery",
> --- a/drivers/power/pda_power.c 2008-07-02 00:10:18.000000000 -0700
> +++ b/drivers/power/pda_power.c 2008-07-02 00:10:36.000000000 -0700
> @@ -362,6 +362,8 @@ static int pda_power_resume(struct platf
> #define pda_power_resume NULL
> #endif /* CONFIG_PM */
>
> +MODULE_ALIAS("platform:pda-power");
> +
> static struct platform_driver pda_power_pdrv = {
> .driver = {
> .name = "pda-power",
Do we think this is needed in 2.6.26?
In 2.6.25.x?
next prev parent reply other threads:[~2008-07-02 8:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-02 7:13 [patch 2.6.26-rc8] drivers/power: fix platform driver hotplug/coldplug David Brownell
2008-07-02 8:49 ` Andrew Morton [this message]
2008-07-02 9:21 ` David Brownell
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=20080702014906.6303fd97.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=avorontsov@ru.mvista.com \
--cc=david-b@pacbell.net \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mreimer@vpop.net \
/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.