mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 30 Apr 2012 21:31:57 +0000 (23:31 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 11 Jul 2012 03:04:04 +0000 (23:04 -0400)
commitfd0ea65d3e675e479e022b6cfc9ebe1864c76afc
tree8869d7965ccb05b9ca635d21c983d84a552ee21e
parent0f506a96693d8ad4aeccbd98dbd54a3c7357cfa8
mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions

GPIOs can be used in MMC/SD-card slots not only for hotplug detection, but
also to implement the write-protection pin. Rename cd-gpio helpers to
slot-gpio to make addition of further slot GPIO functions possible.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/Makefile
drivers/mmc/core/cd-gpio.c [deleted file]
drivers/mmc/core/slot-gpio.c [new file with mode: 0644]
drivers/mmc/host/tmio_mmc_pio.c
include/linux/mmc/cd-gpio.h [deleted file]
include/linux/mmc/slot-gpio.h [new file with mode: 0644]