summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorChristian Daudt2013-06-20 23:26:36 +0200
committerChris Ball2013-07-05 18:59:12 +0200
commit722e1280c932dd42c474390482429ce12aff9031 (patch)
tree3f336cccb56f86153a4d1064d6273a862a999077 /drivers/mmc/host/sdhci.h
parentmmc: core: Fixup Oops for SDIO shutdown (diff)
downloadkernel-qcow2-linux-722e1280c932dd42c474390482429ce12aff9031.tar.gz
kernel-qcow2-linux-722e1280c932dd42c474390482429ce12aff9031.tar.xz
kernel-qcow2-linux-722e1280c932dd42c474390482429ce12aff9031.zip
mmc: sdhci: add card_event callback to sdhci
Add a card_event callback to sdhci so that clients can provide their own card_event to be called when card_detect is triggered. Signed-off-by: Christian Daudt <csd@broadcom.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 379e09d9f3c1..b037f188fe44 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -294,6 +294,7 @@ struct sdhci_ops {
void (*platform_resume)(struct sdhci_host *host);
void (*adma_workaround)(struct sdhci_host *host, u32 intmask);
void (*platform_init)(struct sdhci_host *host);
+ void (*card_event)(struct sdhci_host *host);
};
#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS