wlcore: fix some sparse warnings due to missing static declaration
authorLuciano Coelho <coelho@ti.com>
Wed, 16 May 2012 03:00:00 +0000 (06:00 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 17:08:30 +0000 (13:08 -0400)
commit2247997233f3d6808671b5bc0fcf6a9cad7db801
tree86c2e6ffefbcd8fd4b567cc844d52e944e70cc7b
parent3246a7fbc51abe9394df3c68c7d59ea821a1dce2
wlcore: fix some sparse warnings due to missing static declaration

There were three sparse warnings in main.c due to missing static
declaration:

  CHECK   drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/main.c:1265:5: warning: symbol 'wl1271_validate_wowlan_pattern' was not declared. Should it be static?
drivers/net/wireless/ti/wlcore/main.c:1408:5: warning: symbol 'wl1271_convert_wowlan_pattern_to_rx_filter' was not declared. Should it be static?
drivers/net/wireless/ti/wlcore/main.c:4823:6: warning: symbol 'wl1271_connection_loss_work' was not declared. Should it be static?

Fix these by adding the static declaration to those functions.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/main.c