diff options
author | Bryan Brattlof <hello@bryanbrattlof.com> | 2021-05-18 18:29:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-19 17:58:35 +0200 |
commit | 3bdc1bc67ed392601d5645c99c37a06410e03768 (patch) | |
tree | 89c202459a82b22f7a5a089c0ace2fbe79da9a13 /drivers/staging/rtl8723bs/include/rtw_io.h | |
parent | 4d6bfc6f62705ec5baee9c572d4ca03bc9e36c00 (diff) | |
download | linux-stable-3bdc1bc67ed392601d5645c99c37a06410e03768.tar.gz linux-stable-3bdc1bc67ed392601d5645c99c37a06410e03768.tar.bz2 linux-stable-3bdc1bc67ed392601d5645c99c37a06410e03768.zip |
staging: rtl8723bs: remove duplicate name for _rtw_write_port()
_rtw_write_port() is being redefined as rtw_write_port(). Because
rtw_write_port() is the only name used in the driver, remove the
duplicate definition and rename the function from _rtw_write_port()
to rtw_write_port()
Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com>
Link: https://lore.kernel.org/r/5b8543127a774ca65595588711c05cce28b17bf6.1621361919.git-series.hello@bryanbrattlof.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/rtw_io.h')
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_io.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_io.h b/drivers/staging/rtl8723bs/include/rtw_io.h index 3ba413ed3098..48e1352ac48a 100644 --- a/drivers/staging/rtl8723bs/include/rtw_io.h +++ b/drivers/staging/rtl8723bs/include/rtw_io.h @@ -180,9 +180,7 @@ extern int rtw_write32(struct adapter *adapter, u32 addr, u32 val); extern u8 _rtw_sd_f0_read8(struct adapter *adapter, u32 addr); -extern u32 _rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); - -#define rtw_write_port(adapter, addr, cnt, mem) _rtw_write_port((adapter), (addr), (cnt), (mem)) +extern u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); #define rtw_sd_f0_read8(adapter, addr) _rtw_sd_f0_read8((adapter), (addr)) |