diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2015-12-02 14:58:32 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 15:01:08 -0500 |
commit | 0e8743611a76ced8b0971b6894f982ce89624cc4 (patch) | |
tree | b7d9e7ca99eaadee05f39f936f7c281245988fc5 /drivers/net/ethernet/renesas/ravb_main.c | |
parent | d6df198d924775e4751561cf60ef0294e95f74df (diff) | |
download | lwn-0e8743611a76ced8b0971b6894f982ce89624cc4.tar.gz lwn-0e8743611a76ced8b0971b6894f982ce89624cc4.zip |
ravb: add fallback compatibility strings
Add fallback compatibility strings for R-Car Gen 2 & 3 SoC Families.
This is in keeping with the fallback scheme being adopted wherever appropriate
for drivers for Renesas SoCs.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb_main.c')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 293046d30b3b..2c613d367873 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -1659,7 +1659,9 @@ static int ravb_mdio_release(struct ravb_private *priv) static const struct of_device_id ravb_match_table[] = { { .compatible = "renesas,etheravb-r8a7790", .data = (void *)RCAR_GEN2 }, { .compatible = "renesas,etheravb-r8a7794", .data = (void *)RCAR_GEN2 }, + { .compatible = "renesas,etheravb-rcar-gen2", .data = (void *)RCAR_GEN2 }, { .compatible = "renesas,etheravb-r8a7795", .data = (void *)RCAR_GEN3 }, + { .compatible = "renesas,etheravb-rcar-gen3", .data = (void *)RCAR_GEN3 }, { } }; MODULE_DEVICE_TABLE(of, ravb_match_table); |