diff options
author | David Daney <david.daney@cavium.com> | 2012-05-15 06:46:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-16 00:59:12 -0400 |
commit | 82251de2a2b7b84987dde104d48a765b63170149 (patch) | |
tree | 904a0301adabc84939483373f9bbc496c4209417 /drivers/net/phy/phy_device.c | |
parent | eb71d0d63fdd04b1f63243917a6fad7427827ee7 (diff) |
netdev/phy: Make get_phy_id() static and quit EXPORTing it.
This function is only referenced from within phy_device.c, so there is
no reason to export it. In fact, we can make it static.
Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index e8c42d6a7d1c..de86a5582224 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -207,7 +207,7 @@ static struct phy_device* phy_device_create(struct mii_bus *bus, | |||
207 | * Description: Reads the ID registers of the PHY at @addr on the | 207 | * Description: Reads the ID registers of the PHY at @addr on the |
208 | * @bus, stores it in @phy_id and returns zero on success. | 208 | * @bus, stores it in @phy_id and returns zero on success. |
209 | */ | 209 | */ |
210 | int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id) | 210 | static int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id) |
211 | { | 211 | { |
212 | int phy_reg; | 212 | int phy_reg; |
213 | 213 | ||
@@ -230,7 +230,6 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id) | |||
230 | 230 | ||
231 | return 0; | 231 | return 0; |
232 | } | 232 | } |
233 | EXPORT_SYMBOL(get_phy_id); | ||
234 | 233 | ||
235 | /** | 234 | /** |
236 | * get_phy_device - reads the specified PHY device and returns its @phy_device struct | 235 | * get_phy_device - reads the specified PHY device and returns its @phy_device struct |