mmc: sh_mmcif: support generic card-detection
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 14 Jun 2012 12:24:35 +0000 (14:24 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:22 +0000 (00:02 -0400)
commite480606ad43bb72fd82a9bd99cdcf21829a6e9c0
tree1f41c40d38f9d75371907474c5c6b44c3c6b5aab
parentd9adcc12860d76cf3401c6ab7c0406b15b356b7a
mmc: sh_mmcif: support generic card-detection

Extend the sh_mmcif driver to support GPIO card detection, provided by the
slot function module. The original .get_cd() platform callback is also
preserved for now.

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