scummvm random work
[patches.git] / linux-uclinux-dont-force-root-dev.patch
CommitLineData
5e993f12 1diff --git a/drivers/mtd/maps/uclinux.c b/drivers/mtd/maps/uclinux.c
2index 389fea2..14ffb1a 100644
3--- a/drivers/mtd/maps/uclinux.c
4+++ b/drivers/mtd/maps/uclinux.c
5@@ -16,7 +16,6 @@
6 #include <linux/kernel.h>
7 #include <linux/fs.h>
8 #include <linux/major.h>
9-#include <linux/root_dev.h>
10 #include <linux/mtd/mtd.h>
11 #include <linux/mtd/map.h>
12 #include <linux/mtd/partitions.h>
13@@ -89,10 +88,6 @@ int __init uclinux_mtd_init(void)
14 uclinux_ram_mtdinfo = mtd;
15 add_mtd_partitions(mtd, uclinux_romfs, NUM_PARTITIONS);
16
17- printk("uclinux[mtd]: set %s to be root filesystem\n",
18- uclinux_romfs[0].name);
19- ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, 0);
20-
21 return(0);
22 }
23