I found a small bug in /usr/src/linux-linaro-stable-mx6/drivers/mmc/core/core.c Requires an include for GPIO e.g.: # include <linux/gpio/consumer.h> No expert on git or I would maybe be able to push this myself; I did all the work for ya though :)