Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186927
b: refs/heads/master
c: 3c49e81
h: refs/heads/master
i:
  186925: 78c9411
  186923: 3877c86
  186919: 81274ac
  186911: b5a1f54
v: v3
  • Loading branch information
Magnus Damm authored and Samuel Ortiz committed Mar 7, 2010
1 parent bba09f7 commit 9a5749d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bca748cccec1c7f30b4424882de965100744432
refs/heads/master: 3c49e810507c9d0659b8aa61f7f91aecda428ee3
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/sh_mobile_sdhi.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/platform_device.h>

#include <linux/mmc/host.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tmio.h>
#include <linux/mfd/sh_mobile_sdhi.h>
Expand Down Expand Up @@ -95,9 +95,9 @@ static int __init sh_mobile_sdhi_probe(struct platform_device *pdev)

clk_enable(priv->clk);

/* FIXME: silly const unsigned int hclk */
*(unsigned int *)&priv->mmc_data.hclk = clk_get_rate(priv->clk);
priv->mmc_data.hclk = clk_get_rate(priv->clk);
priv->mmc_data.set_pwr = sh_mobile_sdhi_set_pwr;
priv->mmc_data.capabilities = MMC_CAP_MMC_HIGHSPEED;

memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc));
priv->cell_mmc.driver_data = &priv->mmc_data;
Expand Down

0 comments on commit 9a5749d

Please sign in to comment.