diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-28 14:40:40 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-30 09:07:10 -0500 |
commit | 8c11a94d86eb5489dc665bc566bf624e329d89fa (patch) | |
tree | e886e5b2559ad146a410e5f86b198d1d0f424617 /drivers/mmc | |
parent | 991a86e182203913b71607f0695955d7e23075d7 (diff) |
ARM: mmci: Clean up MMCI announcement printk
Make the MMCI announcement printk say which primecell part number
has been found. Display the revision as an unsigned decimal, and
display only the first 8 hex digits of the base address unless it's
larger.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mmci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 0b4a5bf0ec2c..563022825667 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -960,12 +960,12 @@ static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id) | |||
960 | 960 | ||
961 | amba_set_drvdata(dev, mmc); | 961 | amba_set_drvdata(dev, mmc); |
962 | 962 | ||
963 | mmc_add_host(mmc); | 963 | dev_info(&dev->dev, "%s: PL%03x rev%u at 0x%08llx irq %d,%d\n", |
964 | 964 | mmc_hostname(mmc), amba_part(dev), amba_rev(dev), | |
965 | dev_info(&dev->dev, "%s: MMCI rev %x cfg %02x at 0x%016llx irq %d,%d\n", | ||
966 | mmc_hostname(mmc), amba_rev(dev), amba_config(dev), | ||
967 | (unsigned long long)dev->res.start, dev->irq[0], dev->irq[1]); | 965 | (unsigned long long)dev->res.start, dev->irq[0], dev->irq[1]); |
968 | 966 | ||
967 | mmc_add_host(mmc); | ||
968 | |||
969 | return 0; | 969 | return 0; |
970 | 970 | ||
971 | irq0_free: | 971 | irq0_free: |