summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/core/rtw_io.c
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2021-05-18 18:27:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-19 17:58:35 +0200
commit7f06caf9a40bb3c08fe86c8355ace25b7ce69ba9 (patch)
treede9089e6b1642c90da844fd1f35f94dd9e1ddb1c /drivers/staging/rtl8723bs/core/rtw_io.c
parent16b1b3c8221a40bf899dfeebdb3d5245ecb65515 (diff)
staging: rtl8723bs: remove duplicate names for _rtw_write8()
_rtw_write8() is redefined as rtw_write8() and PlatformEFIOWrite1Byte(). Because rtw_write8() is the only name used in the driver, remove the duplicate definitions and rename the function from _rtw_write8() to rtw_write8() Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com> Link: https://lore.kernel.org/r/35ffc9cd5af7009b317361033a6ca5263307d61a.1621361919.git-series.hello@bryanbrattlof.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/core/rtw_io.c')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
index 9428860162c3..6fafb84934e5 100644
--- a/drivers/staging/rtl8723bs/core/rtw_io.c
+++ b/drivers/staging/rtl8723bs/core/rtw_io.c
@@ -74,7 +74,7 @@ u32 rtw_read32(struct adapter *adapter, u32 addr)
}
-int _rtw_write8(struct adapter *adapter, u32 addr, u8 val)
+int rtw_write8(struct adapter *adapter, u32 addr, u8 val)
{
/* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */
struct io_priv *pio_priv = &adapter->iopriv;