aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-17 02:38:14 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-07 16:17:27 -0500
commit707f0b2fbc65876e8abd94d26d8d0620600c05d4 (patch)
treea4c1e5fa0c4c5ef240c3b0b78eb07438403e82bb
parent6d9af5af61a6c30676ef6f56a791d4036c92d249 (diff)
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 <damm@opensource.se> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--include/linux/mfd/tmio.h2
1 files changed, 1 insertions, 1 deletions
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);
59 * data for the MMC controller 59 * data for the MMC controller
60 */ 60 */
61struct tmio_mmc_data { 61struct tmio_mmc_data {
62 const unsigned int hclk; 62 unsigned int hclk;
63 unsigned long capabilities; 63 unsigned long capabilities;
64 void (*set_pwr)(struct platform_device *host, int state); 64 void (*set_pwr)(struct platform_device *host, int state);
65 void (*set_clk_div)(struct platform_device *host, int state); 65 void (*set_clk_div)(struct platform_device *host, int state);