phylib: do EXPORT_SYMBOL on get_phy_id
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 22 May 2008 16:43:50 +0000 (12:43 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 18:01:01 +0000 (14:01 -0400)
Commit cac1f3c8 factored out the code for get_phy_id so that it
could be reused in multiple places.  Turns out that some of the
users can be modular, so we need to export this symbol as well.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/phy/phy_device.c

index ac3c01d28fdfa8407068289907346d8853dc8b9a..16a0e7de588807540cc4722fb18301c6fd4d940e 100644 (file)
@@ -207,6 +207,7 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
 
        return 0;
 }
+EXPORT_SYMBOL(get_phy_id);
 
 /**
  * get_phy_device - reads the specified PHY device and returns its @phy_device struct