Commit e6fbc3e4f1f2f974ec8efe9d52cfcb22b87f6294
Committed by
Heiko Schocher
1 parent
052a681bae
Exists in
v2017.01-smarct4x
and in
37 other branches
mv_i2c: fix warnings on 64-bit builds
Change addresses to unsigned long to be compatible with 64-bit builds. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Heiko Schocher <hs@denx.de>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/i2c/mv_i2c.c
... | ... | @@ -73,7 +73,7 @@ |
73 | 73 | } |
74 | 74 | |
75 | 75 | #ifdef CONFIG_I2C_MULTI_BUS |
76 | -static u32 i2c_regs[CONFIG_MV_I2C_NUM] = CONFIG_MV_I2C_REG; | |
76 | +static unsigned long i2c_regs[CONFIG_MV_I2C_NUM] = CONFIG_MV_I2C_REG; | |
77 | 77 | static unsigned int bus_initialized[CONFIG_MV_I2C_NUM]; |
78 | 78 | static unsigned int current_bus; |
79 | 79 |