x86: i2c: Fix cast of address to 32-bit value
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:30 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commitfac3e796b915226e2dc92363826824be1589c3ef
tree857dc3700eedbc299d1caad497e07a2b15947540
parent21b3b66acece160c12166b8bcb5511af5c065cef
x86: i2c: Fix cast of address to 32-bit value

This gives a build warning on 64-bit x86. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/i2c/intel_i2c.c