Skip to content

Commit

Permalink
[MTD] Remove references to ROOT_DEV from map drivers.
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Jun 28, 2007
1 parent e716dd3 commit 4854b75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions drivers/mtd/maps/nettel.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,6 @@ int __init nettel_init(void)

intel_mtd->owner = THIS_MODULE;

#ifndef CONFIG_BLK_DEV_INITRD
ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, 1);
#endif

num_intel_partitions = sizeof(nettel_intel_partitions) /
sizeof(nettel_intel_partitions[0]);

Expand Down
1 change: 0 additions & 1 deletion drivers/mtd/maps/pmcmsp-ramroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ static int __init init_rrmap(void)
rr_mtd->owner = THIS_MODULE;

add_mtd_device(rr_mtd);
ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, rr_mtd->index);

return 0;
}
Expand Down

0 comments on commit 4854b75

Please sign in to comment.