diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:05 -0400 |
commit | bdaf8529385d5126ef791e8f1914afff8cd59bcf (patch) | |
tree | aa9e917703526ad034a19cf1b16002aba486cd17 /init/do_mounts_rd.c | |
parent | a29641883f57f36424e3219ae9ff48dd6cd34de0 (diff) |
[PATCH] devfs: Remove devfs from the init code
This patch removes the devfs code from the init/ directory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init/do_mounts_rd.c')
-rw-r--r-- | init/do_mounts_rd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index c2683fcd792d..ed652f40f075 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c | |||
@@ -262,8 +262,8 @@ int __init rd_load_disk(int n) | |||
262 | { | 262 | { |
263 | if (rd_prompt) | 263 | if (rd_prompt) |
264 | change_floppy("root floppy disk to be loaded into RAM disk"); | 264 | change_floppy("root floppy disk to be loaded into RAM disk"); |
265 | create_dev("/dev/root", ROOT_DEV, root_device_name); | 265 | create_dev("/dev/root", ROOT_DEV); |
266 | create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n), NULL); | 266 | create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); |
267 | return rd_load_image("/dev/root"); | 267 | return rd_load_image("/dev/root"); |
268 | } | 268 | } |
269 | 269 | ||