From: Jingoo Han Date: Tue, 6 Aug 2013 08:29:35 +0000 (+0900) Subject: net: phy: micrel: Staticize ksz8873mll_read_status() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32d73b144eacce83871199251081763c26659c0f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: phy: micrel: Staticize ksz8873mll_read_status() ksz8873mll_read_status() is used only in this file. Fix the following sparse warning: drivers/net/phy/micrel.c:147:5: warning: symbol 'ksz8873mll_read_status' was not declared. Should it be static? Signed-off-by: Jingoo Han Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 2510435f34ed..9ca494550186 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -144,7 +144,7 @@ static int ks8051_config_init(struct phy_device *phydev) #define KSZ8873MLL_GLOBAL_CONTROL_4 0x06 #define KSZ8873MLL_GLOBAL_CONTROL_4_DUPLEX (1 << 6) #define KSZ8873MLL_GLOBAL_CONTROL_4_SPEED (1 << 4) -int ksz8873mll_read_status(struct phy_device *phydev) +static int ksz8873mll_read_status(struct phy_device *phydev) { int regval;