]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8821ae: fix not declared symbols should be static in sw.c
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sat, 17 May 2014 19:23:38 +0000 (21:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:33:50 +0000 (21:33 +0900)
commit955a1c788404d559620a76f894c2b21be244a902
tree62002d2272f7266981f70ae2b1f7697b4a1bef9b
parent8218fe4abc428dfc72d7d334bc5a2cd89b41371c
staging: rtl8821ae: fix not declared symbols should be static in sw.c

This commit fixes the following sparse warnings:

drivers/staging/rtl8821ae/rtl8821ae/sw.c:
    - 48:6: warning: symbol 'rtl8821ae_init_aspm_vars' was not declared.
      Should it be static?
    - 228:5: warning: symbol 'rtl8812ae_rx_command_packet_handler' was
      not declared. Should it be static?
    - 263:20: warning: symbol 'rtl8821ae_hal_ops' was not declared.
      Should it be static?
    - 314:23: warning: symbol 'rtl8821ae_mod_params' was not declared.
      Should it be static?
    - 321:20: warning: symbol 'rtl8821ae_hal_cfg' was not declared.
      Should it be static?

All of this symbols are local, that is there are no references to them
in the other files from this driver.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/rtl8821ae/sw.c