rtlwifi: btcoex: Fix some static warnings from Sparse
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 25 Jan 2018 02:49:54 +0000 (10:49 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Jan 2018 17:33:34 +0000 (19:33 +0200)
commitf2f6026af7a894f7e3ac1280fc2fff1b2e4c739c
tree96eab0cc3626808f746ba37578383480b3d4a192
parentb69c1df47281ad47bd2037a42b98f5c7115b7fd5
rtlwifi: btcoex: Fix some static warnings from Sparse

Add 'static' or declaration to resolve the warnings, and remove two unused
functions halbtc_set_macreg() and halbtc_get_macreg() exposed when they
were made static.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h