From: Magnus Damm Date: Wed, 17 Feb 2010 07:38:14 +0000 (+0900) Subject: tmio_mmc: Remove const from platform data V3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=707f0b2fbc65876e8abd94d26d8d0620600c05d4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tmio_mmc: Remove const from platform data V3 Remove const from the tmio-mmc platform data hclk V3. This change makes it possible to remove the type cast from the sh_mobile_sdhi driver which is using the clock framework to get the clock rate. Signed-off-by: Magnus Damm Signed-off-by: Samuel Ortiz --- diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 37d941420ce4..c3f7dff8effc 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -59,7 +59,7 @@ void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state); * data for the MMC controller */ struct tmio_mmc_data { - const unsigned int hclk; + unsigned int hclk; unsigned long capabilities; void (*set_pwr)(struct platform_device *host, int state); void (*set_clk_div)(struct platform_device *host, int state);