Searched hist:"645 cb46e2b6b446d10745662edba680ed36b5184" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | fsl_i2c.c | 645cb46e2b6b446d10745662edba680ed36b5184 Thu Feb 09 20:40:16 UTC 2017 Tom Rini <trini@konsulko.com> fsl_i2c.c: Fix warning on gcc-6.x
With gcc-6.x we see: drivers/i2c/fsl_i2c.c:86:3: warning: ‘fsl_i2c_speed_map’ defined but not used [-Wunused-const-variable=]
The easy way to fix this is that since we only use fsl_i2c_speed_map at all on __M68K__ move the existing guards around slightly.
Reported-by: Thomas Schaefer <Thomas.Schaefer@kontron.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Heiko Schocher <hs@denx.de>
|