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:
e1bcfca
)
[PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number.
author
NeilBrown
<neilb@cse.unsw.edu.au>
Sat, 27 Aug 2005 01:34:15 +0000
(18:34 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 27 Aug 2005 02:37:12 +0000
(19:37 -0700)
I just discovered this is needed for module auto-loading.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index 486ee50cfdda95b8b427882b0297cd82e9578760..deccd560c0dea57a6fef0db5da1b26cab58e86cf 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-4011,3
+4011,4
@@
EXPORT_SYMBOL(md_print_devices);
EXPORT_SYMBOL(md_check_recovery);
MODULE_LICENSE("GPL");
MODULE_ALIAS("md");
+MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);