summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-06-04 19:18:42 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 01:23:12 +0400
commitefedf51c866130945b5db755cb58670e60205d83 (patch)
treec98b36ddbfe6178c73f913562ffaf324cafe1ec3 /drivers/block/brd.c
parent16104b5504fa8be130f7f127a5a1c7dd774efc44 (diff)
downloadlinux-efedf51c866130945b5db755cb58670e60205d83.tar.xz
Add 'rd' alias to new brd ramdisk driver
Alias brd to rd in the hope of helping legacy users. Suggested by Jan. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/brd.c')
-rw-r--r--drivers/block/brd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index 680cdfc00b90..24b97b0bef99 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -397,6 +397,7 @@ module_param(max_part, int, 0);
MODULE_PARM_DESC(max_part, "Maximum number of partitions per RAM disk");
MODULE_LICENSE("GPL");
MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
+MODULE_ALIAS("rd");
#ifndef MODULE
/* Legacy boot options - nonmodular */