aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-08 17:53:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-08 17:53:01 +0100
commit8dc003359cc3996abad9e53a7b2280b272610283 (patch)
tree7fc17315c0d948cd106b89d250355bf59978ae39 /include/linux/mmc
parent[SCSI] Re-do "final klist fixes" (diff)
downloadlinux-dev-8dc003359cc3996abad9e53a7b2280b272610283.tar.xz
linux-dev-8dc003359cc3996abad9e53a7b2280b272610283.zip
[MMC] Allow detection/removal to be delayed
Change mmc_detect_change() to take a delay argument such that the detection of card insertions and removals can be delayed according to the requirements of the host driver or platform. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 6014160d9c06..c5d73c0cf6bb 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -123,7 +123,7 @@ extern void mmc_free_host(struct mmc_host *);
extern int mmc_suspend_host(struct mmc_host *, pm_message_t);
extern int mmc_resume_host(struct mmc_host *);
-extern void mmc_detect_change(struct mmc_host *);
+extern void mmc_detect_change(struct mmc_host *, unsigned long delay);
extern void mmc_request_done(struct mmc_host *, struct mmc_request *);
#endif