aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/uclinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/uclinux.c')
-rw-r--r--drivers/mtd/maps/uclinux.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/maps/uclinux.c b/drivers/mtd/maps/uclinux.c
index 389fea28b9a6..14ffb1a9302a 100644
--- a/drivers/mtd/maps/uclinux.c
+++ b/drivers/mtd/maps/uclinux.c
@@ -16,7 +16,6 @@
16#include <linux/kernel.h> 16#include <linux/kernel.h>
17#include <linux/fs.h> 17#include <linux/fs.h>
18#include <linux/major.h> 18#include <linux/major.h>
19#include <linux/root_dev.h>
20#include <linux/mtd/mtd.h> 19#include <linux/mtd/mtd.h>
21#include <linux/mtd/map.h> 20#include <linux/mtd/map.h>
22#include <linux/mtd/partitions.h> 21#include <linux/mtd/partitions.h>
@@ -89,10 +88,6 @@ int __init uclinux_mtd_init(void)
89 uclinux_ram_mtdinfo = mtd; 88 uclinux_ram_mtdinfo = mtd;
90 add_mtd_partitions(mtd, uclinux_romfs, NUM_PARTITIONS); 89 add_mtd_partitions(mtd, uclinux_romfs, NUM_PARTITIONS);
91 90
92 printk("uclinux[mtd]: set %s to be root filesystem\n",
93 uclinux_romfs[0].name);
94 ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, 0);
95
96 return(0); 91 return(0);
97} 92}
98 93