Hi All, I would like to use miiphy_read and miiphy_write functions provided by u-boot in the linux kernel driver. This is required for reading the link status of each of the phys associated with a switch.
I added miiphy_read and miiphy_write to the exports.h and tried to use it in the kernel. But we get lots of multiple reference errors as some libraries will be there both in u-boot and linux kernel. Could I do something like a dll or lib for these functions and use them in the linux kernel driver ? Please guide me on this. Thanks, Kartheek N S -- View this message in context: http://www.nabble.com/how-to-use-a-function-provided-by-u-boot-in-linux-driver-tp23610373p23610373.html Sent from the Uboot - Users mailing list archive at Nabble.com. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot