diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-02-02 14:49:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-06 19:46:54 -0800 |
commit | 4dae1686782d52084893421b89ff1aa61e223aaf (patch) | |
tree | f6187e7927634175f487aecdf57880980893f97a /drivers | |
parent | 028b86b7671d17eb9a614924eb46d5efb9db931a (diff) | |
download | linux-stable-4dae1686782d52084893421b89ff1aa61e223aaf.tar.gz linux-stable-4dae1686782d52084893421b89ff1aa61e223aaf.tar.bz2 linux-stable-4dae1686782d52084893421b89ff1aa61e223aaf.zip |
net: ethernet: sunxi: Add new compatibles
The Allwinner A10 compatibles were following a slightly different compatible
patterns than the rest of the SoCs for historical reasons. Add compatibles
matching the other pattern to the ethernet driver for consistency, and keep the
older one for backward compatibility.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/allwinner/sun4i-emac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c index 0cc21437478c..511f6eecd58b 100644 --- a/drivers/net/ethernet/allwinner/sun4i-emac.c +++ b/drivers/net/ethernet/allwinner/sun4i-emac.c @@ -929,6 +929,9 @@ static int emac_resume(struct platform_device *dev) } static const struct of_device_id emac_of_match[] = { + {.compatible = "allwinner,sun4i-a10-emac",}, + + /* Deprecated */ {.compatible = "allwinner,sun4i-emac",}, {}, }; |