Skip to content

Commit

Permalink
tmio_mmc: Remove const from platform data V3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Samuel Ortiz committed Mar 7, 2010
1 parent 6d9af5a commit 707f0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mfd/tmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 707f0b2

Please sign in to comment.