Skip to content
Commit 9461d73d authored by Marek Vasut's avatar Marek Vasut
Browse files

net: phy: Only call phy_init() on systems needing manual relocation



The phy_init() is now used only to perform manual relocation of PHY
driver callbacks. Wrap it in ifdeffery and only call it on systems
which still require manual relocation, i.e. m68k .

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
parent c878e70b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment