]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net-next: ethernet: mediatek: change the compatible string
authorJohn Crispin <john@phrozen.org>
Wed, 25 Jan 2017 08:20:55 +0000 (09:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jun 2017 04:41:55 +0000 (06:41 +0200)
commitcb7188295d18dcfbca1586d176f88113e2eae7f5
tree6f83c08d286b8cfcc06b7b971efdd400ba94f6ae
parente9ace99c4bb097a44b20b3e6d356e4dd9b5f0c02
net-next: ethernet: mediatek: change the compatible string

[ Upstream commit 8b901f6bbcf12a20e43105d161bedde093431e61 ]

When the binding was defined, I was not aware that mt2701 was an earlier
version of the SoC. For sake of consistency, the ethernet driver should
use mt2701 inside the compat string as this is the earliest SoC with the
ethernet core.

The ethernet driver is currently of no real use until we finish and
upstream the DSA driver. There are no users of this binding yet. It should
be safe to fix this now before it is too late and we need to provide
backward compatibility for the mt7623-eth compat string.

Reported-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c