]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tmio_mmc: Remove const from platform data V3
authorMagnus Damm <damm@opensource.se>
Wed, 17 Feb 2010 07:38:14 +0000 (16:38 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:27 +0000 (22:17 +0100)
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>
include/linux/mfd/tmio.h

index 37d941420ce4d99ae74f683d1d276688ff6208d3..c3f7dff8effc08691c691f72657d904e9bd604ab 100644 (file)
@@ -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);