commit | a71b357f3af15d4e4e382373ffd8f91fa20a0828 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sun Mar 19 18:03:17 2023 +0100 |
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | Fri Apr 07 14:18:51 2023 +0200 |
tree | 5358b977bfb265a01f17b306cd7a302f72d6d17e | |
parent | 5437f6a198de5ee741dadf2bfbf049083c9b0ab7 [diff] |
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: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Acked-by: Michal Simek <michal.simek@amd.com> Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)