[patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug - Kernel
This is a discussion on [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug - Kernel ; From: Kay Sievers
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
Signed-off-by: David Brownell
---
drivers/parport/parport_ax88796.c | 2 ++
1 file changed, 2 insertions(+)
...
-
[patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug
From: Kay Sievers
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
Signed-off-by: David Brownell
---
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",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-
Re: [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug
On Wed, Jul 02, 2008 at 12:20:21AM -0700, David Brownell wrote:
> From: Kay Sievers
>
> 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
> Signed-off-by: David Brownell
Acked-by: Ben Dooks
> ---
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/