From: Hannes Eder Date: Fri, 26 Dec 2008 08:04:53 +0000 (-0800) Subject: drivers/net/qlge: fix sparse warnings: make symbols static X-Git-Tag: v2.6.29-rc1~581^2~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2f22d22ea7e95d45353b790ac52975a42e3a8558;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- 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: return status; } -void ql_update_stats(struct ql_adapter *qdev) +static void ql_update_stats(struct ql_adapter *qdev) { u32 i; 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: return status; } -int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) +static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) { int i, status;