projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f46d6e
)
parport: fix platform driver hotplug/coldplug
author
Kay Sievers
<
[email protected]
>
Fri, 25 Jul 2008 08:45:48 +0000
(
01:45
-0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 25 Jul 2008 17:53:28 +0000
(10:53 -0700)
Since
43cc71eed1250755986da4c0f9898f9a635cb3bf
(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]
>
drivers/parport/parport_ax88796.c
patch
|
blob
|
history
diff --git
a/drivers/parport/parport_ax88796.c
b/drivers/parport/parport_ax88796.c
index 4ec220b2eae7dba0bf61481931209fbc08f8d2fc..6938d2e9f18f8171d41adcaa0e33e1e487334305 100644
(file)
--- a/
drivers/parport/parport_ax88796.c
+++ b/
drivers/parport/parport_ax88796.c
@@
-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",