diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-02-02 14:49:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-06 19:46:54 -0800 |
commit | efe205704fa8435b7bca495138dd2dbd973e0c28 (patch) | |
tree | b11df18ebe81df41367aae8d4b5a1ece76c478ea /drivers | |
parent | 4dae1686782d52084893421b89ff1aa61e223aaf (diff) | |
download | op-kernel-dev-efe205704fa8435b7bca495138dd2dbd973e0c28.zip op-kernel-dev-efe205704fa8435b7bca495138dd2dbd973e0c28.tar.gz |
net: phy: 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 mdio 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/phy/mdio-sun4i.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-sun4i.c b/drivers/net/phy/mdio-sun4i.c index bb88bc7..9367acc 100644 --- a/drivers/net/phy/mdio-sun4i.c +++ b/drivers/net/phy/mdio-sun4i.c @@ -170,6 +170,9 @@ static int sun4i_mdio_remove(struct platform_device *pdev) } static const struct of_device_id sun4i_mdio_dt_ids[] = { + { .compatible = "allwinner,sun4i-a10-mdio" }, + + /* Deprecated */ { .compatible = "allwinner,sun4i-mdio" }, { } }; |