I2C: OMAP1/OMAP2+: prepend I2C IP version to probed version shown in dev_info
authorAndy Green <andy@warmcat.com>
Mon, 30 May 2011 14:43:10 +0000 (07:43 -0700)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 08:37:08 +0000 (09:37 +0100)
The IP version is prepended to the existing printed probed
version as an "epoch" version.

Cc: patches@linaro.org
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/i2c/busses/i2c-omap.c

index 3aaf7f127514c368d8fc61df4bde3338ca36da4a..642a233a6c8490dbc92a4aaf461dff03c890f133 100644 (file)
@@ -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);