add support for mmc cards
authorJohn Crispin <blogic@openwrt.org>
Thu, 20 Jun 2013 20:00:52 +0000 (22:00 +0200)
committerJohn Crispin <blogic@openwrt.org>
Thu, 20 Jun 2013 20:00:52 +0000 (22:00 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
block.c

diff --git a/block.c b/block.c
index fd8d21efd24f862acf2e4068f640b65822628a08..d456dd586ff741fdd556b6a11d7eec6a50e8cf2b 100644 (file)
--- a/block.c
+++ b/block.c
@@ -254,6 +254,7 @@ static void cache_load(int mtd)
        if (mtd)
                _cache_load("/dev/mtdblock*");
        _cache_load("/dev/sd*");
+       _cache_load("/dev/mmcblk*");
 }
 
 static int print_block_info(struct blkid_struct_probe *pr)