diff options
| author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-12-04 10:51:32 -0500 |
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2012-12-07 13:55:31 -0500 |
| commit | 9f1fb60a2338aa2202ca94d67f84c582f31dbf5a (patch) | |
| tree | 9bb261984e214bfdeb9d9c8391c7bc327527501e /include/linux/mmc | |
| parent | 4577f77ba76127cd9e72e06f44d743894d34ac8b (diff) | |
mmc: add a card-event host operation
Some hosts need to perform additional actions upon card insertion or
ejection. Add a host operation to be called from card detection handlers.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 23df21e5826b..61a10c17aabd 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
| @@ -136,6 +136,7 @@ struct mmc_host_ops { | |||
| 136 | void (*enable_preset_value)(struct mmc_host *host, bool enable); | 136 | void (*enable_preset_value)(struct mmc_host *host, bool enable); |
| 137 | int (*select_drive_strength)(unsigned int max_dtr, int host_drv, int card_drv); | 137 | int (*select_drive_strength)(unsigned int max_dtr, int host_drv, int card_drv); |
| 138 | void (*hw_reset)(struct mmc_host *host); | 138 | void (*hw_reset)(struct mmc_host *host); |
| 139 | void (*card_event)(struct mmc_host *host); | ||
| 139 | }; | 140 | }; |
| 140 | 141 | ||
| 141 | struct mmc_card; | 142 | struct mmc_card; |
