diff options
author | Tom Rini <trini@konsulko.com> | 2017-02-09 15:40:16 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-17 14:15:12 -0500 |
commit | 645cb46e2b6b446d10745662edba680ed36b5184 (patch) | |
tree | dc37163544c80464c19c98e3fa89abcd8226517d /configs/ethernut5_defconfig | |
parent | 93f48779356ced7336a5045299b4920f01d6e599 (diff) | |
download | u-boot-imx-645cb46e2b6b446d10745662edba680ed36b5184.zip u-boot-imx-645cb46e2b6b446d10745662edba680ed36b5184.tar.gz u-boot-imx-645cb46e2b6b446d10745662edba680ed36b5184.tar.bz2 |
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>
Diffstat (limited to 'configs/ethernut5_defconfig')
0 files changed, 0 insertions, 0 deletions