From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Subject: [PATCH 04/05] tmio_mmc: Remove const from platform data V3 Date: Wed, 17 Feb 2010 16:38:14 +0900 Message-ID: <20100217073814.32726.87689.sendpatchset@t400s> References: <20100217073735.32726.12020.sendpatchset@t400s> Return-path: Received: from mail-yw0-f176.google.com ([209.85.211.176]:61066 "EHLO mail-yw0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934064Ab0BQHif (ORCPT ); Wed, 17 Feb 2010 02:38:35 -0500 In-Reply-To: <20100217073735.32726.12020.sendpatchset@t400s> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: linux-mmc@vger.kernel.org Cc: sameo@linux.intel.com, linux-sh@vger.kernel.org, linus.ml.walleij@gmail.com, g.liakhovetski@gmx.de, goda.yusuke@renesas.com, ian@mnementh.co.uk, lethal@linux-sh.org, Magnus Damm , akpm@linux-foundation.org From: Magnus Damm 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 --- Previously posted V2 to linux-mmc 20091126 as "[PATCH 02/03] mmc: Remove const from tmio-mmc platform data V2" Changes from V2: - rediff to fit on top of capabilities patch include/linux/mfd/tmio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0003/include/linux/mfd/tmio.h +++ work/include/linux/mfd/tmio.h 2010-02-17 15:52:15.000000000 +0900 @@ -59,7 +59,7 @@ void tmio_core_mmc_clk_div(void __iomem * 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);