diff options
-rw-r--r-- | drivers/mfd/sh_mobile_sdhi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c index 03efae8041ab..468fd366d4da 100644 --- a/drivers/mfd/sh_mobile_sdhi.c +++ b/drivers/mfd/sh_mobile_sdhi.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | 24 | #include <linux/mmc/host.h> | |
25 | #include <linux/mfd/core.h> | 25 | #include <linux/mfd/core.h> |
26 | #include <linux/mfd/tmio.h> | 26 | #include <linux/mfd/tmio.h> |
27 | #include <linux/mfd/sh_mobile_sdhi.h> | 27 | #include <linux/mfd/sh_mobile_sdhi.h> |
@@ -95,9 +95,9 @@ static int __init sh_mobile_sdhi_probe(struct platform_device *pdev) | |||
95 | 95 | ||
96 | clk_enable(priv->clk); | 96 | clk_enable(priv->clk); |
97 | 97 | ||
98 | /* FIXME: silly const unsigned int hclk */ | 98 | priv->mmc_data.hclk = clk_get_rate(priv->clk); |
99 | *(unsigned int *)&priv->mmc_data.hclk = clk_get_rate(priv->clk); | ||
100 | priv->mmc_data.set_pwr = sh_mobile_sdhi_set_pwr; | 99 | priv->mmc_data.set_pwr = sh_mobile_sdhi_set_pwr; |
100 | priv->mmc_data.capabilities = MMC_CAP_MMC_HIGHSPEED; | ||
101 | 101 | ||
102 | memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc)); | 102 | memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc)); |
103 | priv->cell_mmc.driver_data = &priv->mmc_data; | 103 | priv->cell_mmc.driver_data = &priv->mmc_data; |