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/net | |
parent | 028b86b7671d17eb9a614924eb46d5efb9db931a (diff) |
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')
-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 0cc21437478..511f6eecd58 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",}, {}, }; |