Skip to content

Commit

Permalink
phylib: do EXPORT_SYMBOL on get_phy_id
Browse files Browse the repository at this point in the history
Commit cac1f3c 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>
  • Loading branch information
Paul Gortmaker authored and Jeff Garzik committed May 22, 2008
1 parent fa701bd commit a01b3d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/phy_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a01b3d7

Please sign in to comment.