diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-05 18:03:00 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-05 11:05:24 -0700 |
commit | 51a700db96367b079edd19988c8f91ddb33ec987 (patch) | |
tree | 8ea42d9f7d0c40444b6788d07ad21552a3a8d81e /drivers/net/ethernet/micrel/ks8851_mll.c | |
parent | 4188e7df44bf316a691bf0efa260859d978c7e9d (diff) | |
download | linux-stable-51a700db96367b079edd19988c8f91ddb33ec987.tar.gz linux-stable-51a700db96367b079edd19988c8f91ddb33ec987.tar.bz2 linux-stable-51a700db96367b079edd19988c8f91ddb33ec987.zip |
net: micrel: Staticize local functions
These local functions are used only in this file.
Fix the following sparse warnings:
drivers/net/ethernet/micrel/ks8842.c:708:6: warning: symbol 'ks8842_handle_rx' was not declared. Should it be static?
drivers/net/ethernet/micrel/ks8842.c:718:6: warning: symbol 'ks8842_handle_tx' was not declared. Should it be static?
drivers/net/ethernet/micrel/ks8842.c:727:6: warning: symbol 'ks8842_handle_rx_overrun' was not declared. Should it be static?
drivers/net/ethernet/micrel/ks8842.c:735:6: warning: symbol 'ks8842_tasklet' was not declared. Should it be static?
drivers/net/ethernet/micrel/ks8851_mll.c:691:6: warning: symbol 'ks_enable_qmu' 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/ethernet/micrel/ks8851_mll.c')
-rw-r--r-- | drivers/net/ethernet/micrel/ks8851_mll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ks8851_mll.c b/drivers/net/ethernet/micrel/ks8851_mll.c index ac20098b542a..9f3f5dbe1d30 100644 --- a/drivers/net/ethernet/micrel/ks8851_mll.c +++ b/drivers/net/ethernet/micrel/ks8851_mll.c @@ -688,7 +688,7 @@ static void ks_soft_reset(struct ks_net *ks, unsigned op) } -void ks_enable_qmu(struct ks_net *ks) +static void ks_enable_qmu(struct ks_net *ks) { u16 w; |