]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Add 'rd' alias to new brd ramdisk driver
authorNick Piggin <npiggin@suse.de>
Wed, 4 Jun 2008 15:18:42 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 16 Jun 2008 20:19:49 +0000 (13:19 -0700)
upstream commit: efedf51c866130945b5db755cb58670e60205d83

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/block/brd.c

index 85364804364fc3a058114b30379927dcd974621f..37560a078fb765620da51e5326425cb97aebebc6 100644 (file)
@@ -392,6 +392,7 @@ module_param(rd_size, int, 0);
 MODULE_PARM_DESC(rd_size, "Size of each RAM disk in kbytes.");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
+MODULE_ALIAS("rd");
 
 #ifndef MODULE
 /* Legacy boot options - nonmodular */