Skip to content

Commit

Permalink
parport: fix platform driver hotplug/coldplug
Browse files Browse the repository at this point in the history
Since 43cc71e (platform: prefix MODALIAS
with "platform:"), 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 <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Cc: Greg KH <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Acked-by: Ben Dooks <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
kaysievers authored and torvalds committed Jul 25, 2008
1 parent 4f46d6e commit db358b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/parport/parport_ax88796.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ static int parport_ax88796_resume(struct platform_device *dev)
#define parport_ax88796_resume NULL
#endif

MODULE_ALIAS("platform:ax88796-pp");

static struct platform_driver axdrv = {
.driver = {
.name = "ax88796-pp",
Expand Down

0 comments on commit db358b4

Please sign in to comment.