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 fd8d21e..d456dd5 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)