public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kay.sievers@vrfy.org, lkml <linux-kernel@vger.kernel.org>,
	Ben Dooks <ben-linux@fluff.org>
Subject: [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug
Date: Wed, 2 Jul 2008 00:20:21 -0700	[thread overview]
Message-ID: <200807020020.22002.david-b@pacbell.net> (raw)

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",

             reply	other threads:[~2008-07-02  7:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02  7:20 David Brownell [this message]
2008-07-02  8:56 ` [patch 2.6.26-rc8] parport: fix platform driver hotplug/coldplug Ben Dooks

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=200807020020.22002.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=akpm@linux-foundation.org \
    --cc=ben-linux@fluff.org \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@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