From: Magnus Damm <[email protected]>

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 <[email protected]>
---

 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to