mmc: sdhci: add card_event callback to sdhci
authorChristian Daudt <csd@broadcom.com>
Thu, 20 Jun 2013 21:26:36 +0000 (14:26 -0700)
committerChris Ball <cjb@laptop.org>
Fri, 5 Jul 2013 16:59:12 +0000 (12:59 -0400)
commit722e1280c932dd42c474390482429ce12aff9031
tree3f336cccb56f86153a4d1064d6273a862a999077
parent203bb5af65d4edaf600d75130438c0c512b05986
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>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h