diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2008-05-22 18:43:50 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 20:01:01 +0200 |
commit | a01b3d766c0ad3e63978b0f6faf4004688f13522 (patch) | |
tree | d4fe4b54c88c8faa3496fed41017e67b25da9d88 /drivers/net/phy/phy_device.c | |
parent | WAN: protect HDLC proto list while insmod/rmmod (diff) | |
download | linux-a01b3d766c0ad3e63978b0f6faf4004688f13522.tar.xz linux-a01b3d766c0ad3e63978b0f6faf4004688f13522.zip |
phylib: do EXPORT_SYMBOL on get_phy_id
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>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index ac3c01d28fdf..16a0e7de5888 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -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 |