Here's a patch that fixes the compiler warnings in mmc.c.