diff options
author | Niklas Cassel <niklas.cassel@axis.com> | 2016-12-07 13:41:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-08 11:35:37 -0500 |
commit | 4966a692d055c97f83a17da6035e93806b407473 (patch) | |
tree | 0bb32902b40091ab9495b3ed553f378aade64759 /drivers/firmware/pcdp.c | |
parent | 6357d15e48dfad6d8cec187bf4f032d1deb715d9 (diff) |
net: stmmac: dwmac-generic: add missing compatible strings
devicetree binding for stmmac states:
- compatible: Should be "snps,dwmac-<ip_version>", "snps,dwmac"
For backwards compatibility: "st,spear600-gmac" is also supported.
Since dwmac-generic.c calls stmmac_probe_config_dt explicitly,
another alternative would have been to remove all compatible strings
other than "snps,dwmac" and "st,spear600-gmac" from dwmac-generic.c.
However, that would probably do more good than harm, since when trying
to figure out what hardware a certain driver supports, you usually look
at the compatible strings in the struct of_device_id, and not in some
function defined in a completely different file.
No functional change intended.
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firmware/pcdp.c')
0 files changed, 0 insertions, 0 deletions