diff options
author | Brendan Shanks <brendan.shanks@teradek.com> | 2018-07-16 13:28:24 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-08-07 14:42:15 -0700 |
commit | e784cf1bf2a1fca2667198eea0d8031ae0ceeaf3 (patch) | |
tree | d580d1fef6d81b497e312cb1ab1bb185372fd965 /include/palmas.h | |
parent | 3fa48f0a1afb5f9eae5e8a701b836befb98649db (diff) |
arm: ls102xa: Fix RGMII phy-connection-type FDT fixup
In ft_fixup_enet_phy_connect_type(), use strlen() instead of sizeof()
on the pointer result of phy_string_for_interface(). sizeof() was
returning the size of the pointer (4 bytes), resulting in the
phy-connection-type being set to "rgmi" rather than "rgmii-id".
Signed-off-by: Brendan Shanks <brendan.shanks@teradek.com>
Cc: York Sun <york.sun@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/palmas.h')
0 files changed, 0 insertions, 0 deletions