mmc: dw_mmc: add support for implementation specific callbacks
authorThomas Abraham <thomas.abraham@linaro.org>
Mon, 17 Sep 2012 18:16:42 +0000 (18:16 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 3 Oct 2012 14:05:19 +0000 (10:05 -0400)
commit800d78bfccb3d38116abfda2a5b9c8afdbd5ea21
tree6f4d8375a86319adc67a0154baed8bd6253073a8
parent17403f235e94dcccf95b43138b197c4de2ab6816
mmc: dw_mmc: add support for implementation specific callbacks

The core dw-mshc controller driver can let platform specific
implementations of the dw-mshc controller to control the hardware
as required by such implementations. This is acheived by invoking
implementation specific (optional) callbacks. Define the list of
callbacks supported the add invocation points for the same.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-pltfm.c
drivers/mmc/host/dw_mmc-pltfm.h
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h
include/linux/mmc/dw_mmc.h