编辑文件:
arch/arm/mach-at91/board-sam9m10g45ek.c
static struct mci_platform_data __initdata mci0_data = {
.slot[0] = {
.bus_width = 4,
#if 0
.detect_pin = AT91_PIN_PD10,
#endif
.wp_pin = -1,
},
};
把detect_pin一行删除即可