diff options
| -rw-r--r-- | drivers/net/phy/phy_device.c | 3 | ||||
| -rw-r--r-- | include/linux/phy.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 09aa9e564296..5d81c89ee52b 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
| @@ -122,7 +122,7 @@ static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) | |||
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | /* Runs any matching fixups for this phydev */ | 124 | /* Runs any matching fixups for this phydev */ |
| 125 | int phy_scan_fixups(struct phy_device *phydev) | 125 | static int phy_scan_fixups(struct phy_device *phydev) |
| 126 | { | 126 | { |
| 127 | struct phy_fixup *fixup; | 127 | struct phy_fixup *fixup; |
| 128 | 128 | ||
| @@ -141,7 +141,6 @@ int phy_scan_fixups(struct phy_device *phydev) | |||
| 141 | 141 | ||
| 142 | return 0; | 142 | return 0; |
| 143 | } | 143 | } |
| 144 | EXPORT_SYMBOL(phy_scan_fixups); | ||
| 145 | 144 | ||
| 146 | struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, | 145 | struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, |
| 147 | bool is_c45, | 146 | bool is_c45, |
diff --git a/include/linux/phy.h b/include/linux/phy.h index cf1bb480cfb1..7c81dd8870d4 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
| @@ -596,7 +596,6 @@ int phy_register_fixup_for_id(const char *bus_id, | |||
| 596 | int (*run)(struct phy_device *)); | 596 | int (*run)(struct phy_device *)); |
| 597 | int phy_register_fixup_for_uid(u32 phy_uid, u32 phy_uid_mask, | 597 | int phy_register_fixup_for_uid(u32 phy_uid, u32 phy_uid_mask, |
| 598 | int (*run)(struct phy_device *)); | 598 | int (*run)(struct phy_device *)); |
| 599 | int phy_scan_fixups(struct phy_device *phydev); | ||
| 600 | 599 | ||
| 601 | int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable); | 600 | int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable); |
| 602 | int phy_get_eee_err(struct phy_device *phydev); | 601 | int phy_get_eee_err(struct phy_device *phydev); |
