diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-06 07:02:41 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 23:53:54 -0400 |
commit | 1f7d6819e56dda651a32b0193ff9e7929f62709f (patch) | |
tree | 939149bf42d6d00d2b1744b864cfd427f8b819ca /drivers/mmc | |
parent | 3ab5006471855e0864e0d83a5b39c811c525ed83 (diff) |
mmc: sdhi: print physical base address and clock rate
Instead of printing out useless information such as the virtual base
address and one of 4 interrupts, convert the SDHI probe() to print
out physical base address together with clock rate.
We do have a struct device so make use of dev_info().
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sh_mobile_sdhi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index c4895478bfd6..2bd235b744df 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c | |||
@@ -126,8 +126,10 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) | |||
126 | if (ret) | 126 | if (ret) |
127 | goto eirq; | 127 | goto eirq; |
128 | 128 | ||
129 | pr_info("%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc), | 129 | dev_info(&pdev->dev, "%s base at 0x%08lx clock rate %u MHz\n", |
130 | (unsigned long)host->ctl, irq); | 130 | mmc_hostname(host->mmc), (unsigned long) |
131 | (platform_get_resource(pdev,IORESOURCE_MEM, 0)->start), | ||
132 | mmc_data->hclk / 1000000); | ||
131 | 133 | ||
132 | return ret; | 134 | return ret; |
133 | 135 | ||