mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 03:49:41 +02:00
11 lines
444 B
Diff
11 lines
444 B
Diff
--- linux-2.6.24.7.old/init/do_mounts.c 2008-05-07 01:22:34.000000000 +0200
|
|
+++ linux-2.6.24.7/init/do_mounts.c 2009-04-12 18:13:57.000000000 +0200
|
|
@@ -378,6 +378,7 @@
|
|
if (saved_root_name[0]) {
|
|
root_device_name = saved_root_name;
|
|
if (!strncmp(root_device_name, "mtd", 3) ||
|
|
+ !strncmp(root_device_name, "mmc", 3) ||
|
|
!strncmp(root_device_name, "ubi", 3)) {
|
|
mount_block_root(root_device_name, root_mountflags);
|
|
goto out;
|