* [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug
@ 2008-07-02 7:20 David Brownell
2008-07-02 8:56 ` Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2008-07-02 7:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: kay.sievers, lkml, Ben Dooks
From: Kay Sievers <kay.sievers@vrfy.org>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
hotpluggable parport platform drivers, to re-enable auto loading.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
drivers/parport/parport_ax88796.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/parport/parport_ax88796.c 2008-07-01 23:58:26.000000000 -0700
+++ b/drivers/parport/parport_ax88796.c 2008-07-01 23:59:18.000000000 -0700
@@ -406,6 +406,8 @@ static int parport_ax88796_resume(struct
#define parport_ax88796_resume NULL
#endif
+MODULE_ALIAS("platform:ax88796-pp");
+
static struct platform_driver axdrv = {
.driver = {
.name = "ax88796-pp",
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug
2008-07-02 7:20 [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug David Brownell
@ 2008-07-02 8:56 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2008-07-02 8:56 UTC (permalink / raw)
To: David Brownell; +Cc: Andrew Morton, kay.sievers, lkml, Ben Dooks
On Wed, Jul 02, 2008 at 12:20:21AM -0700, David Brownell wrote:
> From: Kay Sievers <kay.sievers@vrfy.org>
>
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
> modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
> hotpluggable parport platform drivers, to re-enable auto loading.
>
> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Ben Dooks <ben-linux@fluff.org>
> ---
> drivers/parport/parport_ax88796.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> --- a/drivers/parport/parport_ax88796.c 2008-07-01 23:58:26.000000000 -0700
> +++ b/drivers/parport/parport_ax88796.c 2008-07-01 23:59:18.000000000 -0700
> @@ -406,6 +406,8 @@ static int parport_ax88796_resume(struct
> #define parport_ax88796_resume NULL
> #endif
>
> +MODULE_ALIAS("platform:ax88796-pp");
> +
> static struct platform_driver axdrv = {
> .driver = {
> .name = "ax88796-pp",
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-02 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 7:20 [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug David Brownell
2008-07-02 8:56 ` Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox