diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:04:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:04:53 -0500 |
commit | 2f22d22ea7e95d45353b790ac52975a42e3a8558 (patch) | |
tree | e383020c6133d32dc47ee96a32e92401ccc26ded /drivers/net | |
parent | f8057b7fefea1daca6928cbb95751d01fc934a41 (diff) |
drivers/net/qlge: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/qlge/qlge_ethtool.c:100:6: warning: symbol 'ql_update_stats' was not declared. Should it be static?
drivers/net/qlge/qlge_mpi.c:22:5: warning: symbol 'ql_get_mb_sts' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/qlge/qlge_ethtool.c | 2 | ||||
-rw-r--r-- | drivers/net/qlge/qlge_mpi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qlge/qlge_ethtool.c b/drivers/net/qlge/qlge_ethtool.c index b62fbd4bf00..eefb81b1375 100644 --- a/drivers/net/qlge/qlge_ethtool.c +++ b/drivers/net/qlge/qlge_ethtool.c | |||
@@ -97,7 +97,7 @@ exit: | |||
97 | return status; | 97 | return status; |
98 | } | 98 | } |
99 | 99 | ||
100 | void ql_update_stats(struct ql_adapter *qdev) | 100 | static void ql_update_stats(struct ql_adapter *qdev) |
101 | { | 101 | { |
102 | u32 i; | 102 | u32 i; |
103 | u64 data; | 103 | u64 data; |
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c index 24fe344bcf1..fa31891b6e6 100644 --- a/drivers/net/qlge/qlge_mpi.c +++ b/drivers/net/qlge/qlge_mpi.c | |||
@@ -19,7 +19,7 @@ exit: | |||
19 | return status; | 19 | return status; |
20 | } | 20 | } |
21 | 21 | ||
22 | int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) | 22 | static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) |
23 | { | 23 | { |
24 | int i, status; | 24 | int i, status; |
25 | 25 | ||