mmc: Allow the tmio_mmc mfd driver to specify get_cd handler
authorArnd Hannemann <arnd@arndnet.de>
Tue, 24 Aug 2010 15:26:59 +0000 (17:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:08 +0000 (00:29 +0200)
commit19ca7502c508595edfb963e5dbcf62854a926506
treebb7dfaa2cba6cc40fad59ee0f6a084ceb30eac7b
parent9b16c0a43b74393cc18666a7748293812c61af1f
mmc: Allow the tmio_mmc mfd driver to specify get_cd handler

Some controllers, supported by the tmio_mmc driver do not have the card
detect pin of a slot connected, so that polling needs to be used and
card detection is handled by other means.
This patch exposes a get_cd hook for that purpose.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mmc/host/tmio_mmc.c
include/linux/mfd/tmio.h