Explorar o código

[MTD] Remove references to ROOT_DEV from map drivers.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse %!s(int64=18) %!d(string=hai) anos
pai
achega
4854b75c77
Modificáronse 2 ficheiros con 0 adicións e 5 borrados
  1. 0 4
      drivers/mtd/maps/nettel.c
  2. 0 1
      drivers/mtd/maps/pmcmsp-ramroot.c

+ 0 - 4
drivers/mtd/maps/nettel.c

@@ -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]);
 

+ 0 - 1
drivers/mtd/maps/pmcmsp-ramroot.c

@@ -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;
 	}