aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnd Hannemann <arnd@arndnet.de>2010-08-24 17:26:59 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:29:08 +0200
commit19ca7502c508595edfb963e5dbcf62854a926506 (patch)
treebb7dfaa2cba6cc40fad59ee0f6a084ceb30eac7b /include
parentrtc: Add MAX8998 rtc driver (diff)
downloadlinux-dev-19ca7502c508595edfb963e5dbcf62854a926506.tar.xz
linux-dev-19ca7502c508595edfb963e5dbcf62854a926506.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/tmio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index f07425bc3dcd..24c43bbad541 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -74,6 +74,7 @@ struct tmio_mmc_data {
struct tmio_mmc_dma *dma;
void (*set_pwr)(struct platform_device *host, int state);
void (*set_clk_div)(struct platform_device *host, int state);
+ int (*get_cd)(struct platform_device *host);
};
/*