From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Date: Mon, 22 Feb 2010 04:37:09 +0000 Subject: [PATCH] mfd: sh_mobile_sdhi MMC_CAP_MMC_HIGHSPEED support Message-Id: <20100222043709.4675.49750.sendpatchset@t400s> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org, sameo@linux.intel.com, linux-sh@vger.kernel.org From: Magnus Damm Add MMC_CAP_MMC_HIGHSPEED support to the sh_mobile_sdhi driver. Also, remove type cast and FIXME comment. Signed-off-by: Magnus Damm --- Depends on the series: "[PATCH 00/05] tmio_mmc: SDHI hotplug and random fixes" drivers/mfd/sh_mobile_sdhi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- 0001/drivers/mfd/sh_mobile_sdhi.c +++ work/drivers/mfd/sh_mobile_sdhi.c 2010-02-22 11:51:12.000000000 +0900 @@ -21,7 +21,7 @@ #include #include #include - +#include #include #include #include @@ -95,9 +95,9 @@ static int __init sh_mobile_sdhi_probe(s clk_enable(priv->clk); - /* FIXME: silly const unsigned int hclk */ - *(unsigned int *)&priv->mmc_data.hclk = clk_get_rate(priv->clk); + priv->mmc_data.hclk = clk_get_rate(priv->clk); priv->mmc_data.set_pwr = sh_mobile_sdhi_set_pwr; + priv->mmc_data.capabilities = MMC_CAP_MMC_HIGHSPEED; memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc)); priv->cell_mmc.driver_data = &priv->mmc_data;