]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtlwifi: make various structures static
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Oct 2017 21:51:49 +0000 (22:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 16:36:25 +0000 (18:36 +0200)
commitb9fd63ea2b027dc14e6f91871be7ed8de2ffa2b1
tree1a98b8741aa5bee12000b6a952943e2021a66697
parentcfc70e7c608f8fea8f5183172f11096da08b1f4a
staging: rtlwifi: make various structures static

The structures created from macros RTL_DEBUG_IMPL_MAC_SERIES,
RTL_DEBUG_IMPL_BB_SERIES, RTL_DEBUG_IMPL_RF_SERIES and
RTL_DEBUG_IMPL_CAM_SERIES are all local to the source and do
not need to be in global scope, so make them static.

Cleans up 37 sparse warnings of the form:
symbol 'rtl_debug_priv_mac_0' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/debug.c