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)
commit6e4206136faa9a4d588946dfa604e1d989a9b3b6
tree254081e8e3bc6895bb1fa41e5fc44fc7c4f94635
parenta630ec1b64c57f681877cc19c8e7ea5640cf7fcb
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