diff options
author | Nick Piggin <npiggin@suse.de> | 2008-06-04 17:18:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-05 14:23:12 -0700 |
commit | efedf51c866130945b5db755cb58670e60205d83 (patch) | |
tree | c98b36ddbfe6178c73f913562ffaf324cafe1ec3 /drivers/block/brd.c | |
parent | 16104b5504fa8be130f7f127a5a1c7dd774efc44 (diff) | |
download | talos-obmc-linux-efedf51c866130945b5db755cb58670e60205d83.tar.gz talos-obmc-linux-efedf51c866130945b5db755cb58670e60205d83.zip |
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.c | 1 |
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 */ |