diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-03-31 12:05:17 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-31 16:04:05 -0400 |
commit | 32867fcc0ef9e56939d5200ad983801bbfd581ad (patch) | |
tree | fcc35d6fa50f5d15306a1eee995615bc4604d3cb /net/core/rtnetlink.c | |
parent | 9bd9ddb7f89edae241d2da78e3119f226b9b0cf6 (diff) | |
download | op-kernel-dev-32867fcc0ef9e56939d5200ad983801bbfd581ad.zip op-kernel-dev-32867fcc0ef9e56939d5200ad983801bbfd581ad.tar.gz |
fec: Do not access unexisting register in Coldfire
Commit 55cd48c821de ("net: fec: stop the "rcv is not +last, " error
messages") introduces a write to a register that does not exist in
Coldfire.
Move the FEC_FTRL register access inside the FEC_QUIRK_HAS_RACC 'if' block,
so that we guarantee it will not be used on Coldfire CPUs.
Reported-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions