mmc: add a generic GPIO card-detect helper
This patch adds a primitive helper to support card hotplug detection on platforms, where a GPIO, capable of producing interrupts, is used for detection of card-insertion and -removal events. Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: NChris Ball <cjb@laptop.org>
Showing
drivers/mmc/core/cd-gpio.c
0 → 100644
include/linux/mmc/cd-gpio.h
0 → 100644
想要评论请 注册 或 登录