[PATCH] i2c-omap: fix reported revison
Jan Weitzel
j.weitzel at phytec.de
Mon Oct 7 09:18:07 EDT 2013
Report correct major and minor revision
Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>
---
drivers/i2c/busses/i2c-omap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index bec3b29..8e31ef4 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1079,7 +1079,7 @@ i2c_omap_probe(struct device_d *pdev)
omap_i2c_init(i2c_omap);
dev_info(pdev, "bus %d rev%d.%d at %d kHz\n",
- pdev->id, i2c_omap->rev >> 4, i2c_omap->rev & 0xf, i2c_omap->speed);
+ pdev->id, major, minor, i2c_omap->speed);
omap_i2c_idle(i2c_omap);
--
1.7.0.4
More information about the barebox
mailing list