From: Paul Gortmaker Date: Thu, 22 May 2008 16:43:50 +0000 (-0400) Subject: phylib: do EXPORT_SYMBOL on get_phy_id X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a01b3d766c0ad3e63978b0f6faf4004688f13522;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jeff Garzik --- 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