staging: wlan-ng: fix bad symbol declaration
authorNeil Armstrong <superna9999@gmail.com>
Fri, 11 Apr 2014 13:00:49 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 21:57:48 +0000 (14:57 -0700)
commit8cf22fda6272e5240a118f003d9222da5489af38
tree492698f3b298fbd2a900ba85a7fab04b6c390571
parent5d85fe346fc34e1d5932974a95440297cd7a009f
staging: wlan-ng: fix bad symbol declaration

With sparse, the following error appears :
  CHECK   drivers/staging/wlan-ng/p80211netdev.c
drivers/staging/wlan-ng/cfg80211.c:710:6: warning: symbol 'prism2_connect_result' was not declared. Should it be static?
drivers/staging/wlan-ng/cfg80211.c:719:6: warning: symbol 'prism2_disconnected' was not declared. Should it be static?
drivers/staging/wlan-ng/cfg80211.c:725:6: warning: symbol 'prism2_roamed' was not declared. Should it be static?

Move functions declaration to coherent internal header file.

Signed-off-by: Neil 'Superna' Armstrong <superna9999@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mgmt.h
drivers/staging/wlan-ng/prism2sta.c