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: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Showing
drivers/mmc/core/cd-gpio.c
0 → 100644
include/linux/mmc/cd-gpio.h
0 → 100644
Please register or sign in to comment