]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/ethernet/mediatek/mtk_eth_soc.c
net-next: ethernet: mediatek: change the compatible string
authorJohn Crispin <john@phrozen.org>
Wed, 25 Jan 2017 08:20:55 +0000 (09:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 19:36:02 +0000 (14:36 -0500)
commit8b901f6bbcf12a20e43105d161bedde093431e61
tree94f7acb9073eb02509496a3c1727e3df8d90eebd
parent61976fff20f92aceecc3670f6168bfc57a79e047
net-next: ethernet: mediatek: change the compatible string

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>
drivers/net/ethernet/mediatek/mtk_eth_soc.c