]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e79faf0feb50138ec92158866d0ab0948527e20
tree8869d7965ccb05b9ca635d21c983d84a552ee21e
parent5b4f2aae0ff9cf31a0a291325fed3856cd72484b
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]