]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: phy: Add support for all targets which requires MANUAL_RELOC
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 May 2015 11:40:40 +0000 (13:40 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:14 +0000 (22:43 +0200)
commitbc192bbd9d7e7fcb2dd4dec98f9d9de2d3da8319
tree7e923ff386185771eae76d69cadd7e330035a2ed
parent6b1062c11ac74f1ed70fd0d6a47c904dccdc347b
net: phy: Add support for all targets which requires MANUAL_RELOC

Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA
relocation (mostly only GOT) where functions aray are not
updated. This patch is fixing function pointers passed to phy_register
function.
This patch was tested on Microblaze architecture.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c