RAMDISK_MAJOR
MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
disk->major = RAMDISK_MAJOR;
if (__register_blkdev(RAMDISK_MAJOR, "ramdisk", brd_probe)) {
unregister_blkdev(RAMDISK_MAJOR, "ramdisk");
Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),