Skip to content
Commit 6e420613 authored by Greg Ungerer's avatar Greg Ungerer
Browse files

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: default avatarertheb <3rth3bnospam@ethe.fr>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent a630ec1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment