Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4854b75c authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Remove references to ROOT_DEV from map drivers.

parent e716dd36
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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;
	}