OSDN Git Service

mmc: sdhci-s3c: Remove usage of clk_type member in platform data
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 16 Feb 2012 13:23:58 +0000 (22:23 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 5 Apr 2012 23:57:49 +0000 (19:57 -0400)
commit3119936a289db88cf749143fa5ef6b4a4712e3c0
tree53ed713ce8c9435c6daa976fc77b4c366e72d277
parentdd775ae2549217d3ae09363e3edb305d0fa19928
mmc: sdhci-s3c: Remove usage of clk_type member in platform data

SDHCI controllers on Exynos4 do not include the sdclk divider as per the
sdhci controller specification. This case can be represented using the
sdhci quirk SDHCI_QUIRK_NONSTANDARD_CLOCK instead of using an additional
enum type definition 'clk_types'.

Hence, usage of clk_type member in platform data is removed and the sdhci
quirk is used. In addition to that, since this qurik is SoC specific,
driver data is introduced to represent controllers on SoC's that require
this quirk.

Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Jeongbae Seo <jeongbae.seo@samsung.com>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c