]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: platform: fix probe for ACPI devices
authorAjay Gupta <ajayg@nvidia.com>
Thu, 23 Jan 2020 01:16:35 +0000 (17:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jan 2020 09:09:47 +0000 (10:09 +0100)
commit09faf26534854194e52194d86426835e3edecd86
treeb761caf0693911560640f9794ffe29c203cce03d
parent1cce3989f83eba0601b98ec55d48d82f76818a3a
net: stmmac: platform: fix probe for ACPI devices

Use generic device API to get phy mode to fix probe failure
with ACPI based devices.

Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c