mmc: core: add WP pin handler to slot functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 1 May 2012 14:59:38 +0000 (16:59 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:18 +0000 (00:02 -0400)
commit5aa7dad305594ea30d21e23b3036565042adf50c
treed9c7c2962e35c63ffe7d4ad2d48e8e99109dadb4
parenta7d1a1ebd8f5858a812ac3d5fbbc178b4959a63b
mmc: core: add WP pin handler to slot functions

Card Write-Protect pin is often implemented, using a GPIO, which makes
it simple to provide a generic handler for it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/slot-gpio.c
include/linux/mmc/slot-gpio.h