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-07 04:46:54 +0100 |
commit | 4dae1686782d52084893421b89ff1aa61e223aaf (patch) | |
tree | f6187e7927634175f487aecdf57880980893f97a /drivers/net/ethernet/allwinner/sun4i-emac.c | |
parent | Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/o... (diff) | |
download | linux-4dae1686782d52084893421b89ff1aa61e223aaf.tar.xz linux-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/net/ethernet/allwinner/sun4i-emac.c')
-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",}, {}, }; |