aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/nettel.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-06-28 15:13:27 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-06-28 15:13:27 -0400
commit4854b75c7795604ea6a0b6b7f549f145813343d0 (patch)
tree69559ae50fd4c82579ba9e8e1508507ff4c2b555 /drivers/mtd/maps/nettel.c
parente716dd3644c2a79d6ffa4359bac06f57479dcb34 (diff)
[MTD] Remove references to ROOT_DEV from map drivers.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/maps/nettel.c')
-rw-r--r--drivers/mtd/maps/nettel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/maps/nettel.c b/drivers/mtd/maps/nettel.c
index 7b96cd02f82b..88525622e967 100644
--- a/drivers/mtd/maps/nettel.c
+++ b/drivers/mtd/maps/nettel.c
@@ -421,10 +421,6 @@ int __init nettel_init(void)
421 421
422 intel_mtd->owner = THIS_MODULE; 422 intel_mtd->owner = THIS_MODULE;
423 423
424#ifndef CONFIG_BLK_DEV_INITRD
425 ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, 1);
426#endif
427
428 num_intel_partitions = sizeof(nettel_intel_partitions) / 424 num_intel_partitions = sizeof(nettel_intel_partitions) /
429 sizeof(nettel_intel_partitions[0]); 425 sizeof(nettel_intel_partitions[0]);
430 426