]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: fix fec setup warning for ColdFire 5271 builds
authorGreg Ungerer <gerg@uclinux.org>
Tue, 24 Mar 2015 01:08:22 +0000 (11:08 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 29 Mar 2015 23:52:24 +0000 (09:52 +1000)
commitbcb88d336bc33c2ccbb777d56e052c5045c8da33
tree254081e8e3bc6895bb1fa41e5fc44fc7c4f94635
parent9f62c5af98481c651dd09202a20fe2272809e77f
m68knommu: fix fec setup warning for ColdFire 5271 builds

Building for the ColdFire 5271 produces the following warning:

arch/m68k/coldfire/m527x.c: In function ‘m527x_fec_init’:
arch/m68k/coldfire/m527x.c:95:6: warning: unused variable ‘par’

Fix it by moving the definition of par inside the 5271 conditional code.

Reported-by: ertheb <3rth3bnospam@ethe.fr>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/coldfire/m527x.c