[PATCH] i2c-omap: fix reported revison
Sascha Hauer
s.hauer at pengutronix.de
Mon Oct 14 05:15:56 EDT 2013
On Mon, Oct 07, 2013 at 03:18:07PM +0200, Jan Weitzel wrote:
> 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(-)
Applied, thanks
Sascha
>
> 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
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list