From: Andy Green Date: Mon, 30 May 2011 14:43:10 +0000 (-0700) Subject: I2C: OMAP1/OMAP2+: prepend I2C IP version to probed version shown in dev_info X-Git-Tag: next-20111102~93^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9550d4d7ab9aff125d3f7d48d3e97c093d19bdbe;p=karo-tx-linux.git I2C: OMAP1/OMAP2+: prepend I2C IP version to probed version shown in dev_info The IP version is prepended to the existing printed probed version as an "epoch" version. Cc: patches@linaro.org Reported-by: Peter Maydell Signed-off-by: Andy Green Signed-off-by: Tony Lindgren Acked-by: Ben Dooks Signed-off-by: Kevin Hilman --- diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 3aaf7f127514..642a233a6c84 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -1093,8 +1093,8 @@ omap_i2c_probe(struct platform_device *pdev) goto err_unuse_clocks; } - dev_info(dev->dev, "bus %d rev%d.%d at %d kHz\n", - pdev->id, dev->rev >> 4, dev->rev & 0xf, dev->speed); + dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", pdev->id, + pdata->rev, dev->rev >> 4, dev->rev & 0xf, dev->speed); omap_i2c_idle(dev);