From: Thomas Abraham Date: Mon, 17 Sep 2012 18:16:41 +0000 (+0000) Subject: mmc: dw_mmc: prepare functions in dw_mmc-pltfm for reuse X-Git-Tag: v3.7-rc1~69^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17403f235e94dcccf95b43138b197c4de2ab6816;p=pandora-kernel.git mmc: dw_mmc: prepare functions in dw_mmc-pltfm for reuse Platform implementations of dw-mshc controller may choose to extend the features of the standard dw-mshc controller such as adding additional clocking options or modifying the bus interface. Support for such implementation specific extensions can be incorporated into dw_mmc-pltfm, but including multiple such platform specific implementations would convolute the existing dw_mmc-pltfm code. Instead, it would be better to create implementation specific platform drivers to support implementation specific features. Such platforms drivers can reuse the existing infrastructure in dw_mmc-pltfm for resource identification and controller registration and provide support for implementation specific features. So, allow the infrastructure in dw_mmc-pltfm to be reused by other implementation specific platform drivers. Signed-off-by: Thomas Abraham Acked-by: Will Newton Signed-off-by: Chris Ball --- Reading git-diff-tree failed