From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kartheek N S Date: Mon, 18 May 2009 23:19:31 -0700 (PDT) Subject: [U-Boot] how to use a function provided by u-boot in linux driver Message-ID: <23610373.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.