diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-06 04:29:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-07 19:59:10 -0400 |
commit | 32d73b144eacce83871199251081763c26659c0f (patch) | |
tree | c16f5c5910d07e98b12f62e97b6f1e12ff3fabde /drivers/net/phy | |
parent | 3d9953a2ef2182d56e268742259b11dedb8e281d (diff) |
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 <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/micrel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
144 | #define KSZ8873MLL_GLOBAL_CONTROL_4 0x06 | 144 | #define KSZ8873MLL_GLOBAL_CONTROL_4 0x06 |
145 | #define KSZ8873MLL_GLOBAL_CONTROL_4_DUPLEX (1 << 6) | 145 | #define KSZ8873MLL_GLOBAL_CONTROL_4_DUPLEX (1 << 6) |
146 | #define KSZ8873MLL_GLOBAL_CONTROL_4_SPEED (1 << 4) | 146 | #define KSZ8873MLL_GLOBAL_CONTROL_4_SPEED (1 << 4) |
147 | int ksz8873mll_read_status(struct phy_device *phydev) | 147 | static int ksz8873mll_read_status(struct phy_device *phydev) |
148 | { | 148 | { |
149 | int regval; | 149 | int regval; |
150 | 150 | ||