Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtlwifi: rtl8192cu: Remove sw.h header

It has one define, which is already defined in include from reg.h.
All functions are declared in their own headers and included in *.c
files belonging to them.
This makes sw.h unnecessary, so we can remove it.

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

authored by

Amadeusz Sławiński and committed by
Kalle Valo
a3cda3c3 be913e3f

-28
-1
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
··· 12 12 #include "mac.h" 13 13 #include "dm.h" 14 14 #include "rf.h" 15 - #include "sw.h" 16 15 #include "trx.h" 17 16 #include "led.h" 18 17 #include "hw.h"
-27
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /* Copyright(c) 2009-2012 Realtek Corporation.*/ 3 - 4 - #ifndef __RTL92CU_SW_H__ 5 - #define __RTL92CU_SW_H__ 6 - 7 - #define EFUSE_MAX_SECTION 16 8 - 9 - void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 10 - u8 *powerlevel); 11 - void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 12 - u8 *ppowerlevel, u8 channel); 13 - bool _rtl92cu_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, 14 - u8 configtype); 15 - bool _rtl92cu_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, 16 - u8 configtype); 17 - void _rtl92cu_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t); 18 - void rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw, 19 - enum radio_path rfpath, 20 - u32 regaddr, u32 bitmask, u32 data); 21 - bool rtl92cu_phy_set_rf_power_state(struct ieee80211_hw *hw, 22 - enum rf_pwrstate rfpwr_state); 23 - u32 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw, 24 - enum radio_path rfpath, u32 regaddr, u32 bitmask); 25 - void rtl92cu_phy_set_bw_mode_callback(struct ieee80211_hw *hw); 26 - 27 - #endif