linux-stable/drivers/staging/rtl8192u
Jeremiah Mahler f2ea5ff8a7 staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning
A sparse warning is generated about 'ieee80211_debug_init' and
'ieee80211_debug_exit' not being declared.

  drivers/staging/rtl8192u/ieee80211/ieee80211_module.c:275:12: warning:
  symbol 'ieee80211_debug_init' was not declared. Should it be static?
  drivers/staging/rtl8192u/ieee80211/ieee80211_module.c:297:13: warning:
  symbol 'ieee80211_debug_exit' was not declared. Should it be static?

These functions are used outside of this file so using static will not
work.  The prototypes are given in r8192U_core.c but sparse nonetheless
still gives a warning.  Fix the sparse warning by moving these
prototypes from r8192U_core.c to ieee80211.h.

Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Cc: Joel Pelaez Jorge <joelpelaez@gmail.com>
Cc: Andrea Merello <andrea.merello@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Joe Perches <joe@perches.com>
Cc: Himangi Saraogi <himangi774@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Cc: Ana Rey <anarey@gmail.com>
Cc: Chaitanya Hazarey <c@24.io>
Cc: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Cc: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-16 12:23:20 -07:00
..
ieee80211 staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning 2014-08-16 12:23:20 -07:00
authors
changes
copying
Kconfig
Makefile staging: rtl8192u: remove unused define USB_RX_AGGREGATION_SUPPORT 2014-08-16 12:23:10 -07:00
r819xU_cmdpkt.c drivers/staging: Remove useless return variables 2014-05-26 10:32:15 -07:00
r819xU_cmdpkt.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_firmware_img.c Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORs 2014-05-25 11:25:40 -07:00
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: Fixed switch and case indentation error 2014-07-10 15:16:16 -07:00
r819xU_phy.h
r819xU_phyreg.h staging:r819xU: coding style: Fixed commenting style 2014-08-16 12:23:15 -07:00
r8180_93cx6.c staging:r8180: coding style: Fixed commenting style 2014-08-01 14:42:52 -07:00
r8180_93cx6.h staging:r8180: coding style: Fixed too long lines 2014-08-01 14:42:52 -07:00
r8190_rtl8256.c staging:r8190: coding style: Fixed checkpatch reported Error 2014-08-01 14:42:52 -07:00
r8190_rtl8256.h
r8192U.h
r8192U_core.c staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning 2014-08-16 12:23:20 -07:00
r8192U_dm.c
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c drivers/staging/rtl8192u/r8192U_wx.c: fix warnings issued by sparse 2014-08-16 12:23:20 -07:00
r8192U_wx.h