mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
net: phy: stop exporting phy_driver_register
phy_driver_register() isn't used outside phy_device.c any longer, so we can stop exporting it. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/dff44b83-4a85-4fff-bf6b-f12efd97b56e@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
42e2a9e11a
commit
092263a031
|
|
@ -3544,7 +3544,8 @@ static int phy_remove(struct device *dev)
|
|||
* @new_driver: new phy_driver to register
|
||||
* @owner: module owning this PHY
|
||||
*/
|
||||
int phy_driver_register(struct phy_driver *new_driver, struct module *owner)
|
||||
static int phy_driver_register(struct phy_driver *new_driver,
|
||||
struct module *owner)
|
||||
{
|
||||
int retval;
|
||||
|
||||
|
|
@ -3587,7 +3588,6 @@ int phy_driver_register(struct phy_driver *new_driver, struct module *owner)
|
|||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(phy_driver_register);
|
||||
|
||||
int phy_drivers_register(struct phy_driver *new_driver, int n,
|
||||
struct module *owner)
|
||||
|
|
|
|||
|
|
@ -2032,7 +2032,6 @@ static inline int phy_read_status(struct phy_device *phydev)
|
|||
|
||||
void phy_driver_unregister(struct phy_driver *drv);
|
||||
void phy_drivers_unregister(struct phy_driver *drv, int n);
|
||||
int phy_driver_register(struct phy_driver *new_driver, struct module *owner);
|
||||
int phy_drivers_register(struct phy_driver *new_driver, int n,
|
||||
struct module *owner);
|
||||
void phy_error(struct phy_device *phydev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user