diff options
| author | Nikolay Kulikov <nikolayof23@gmail.com> | 2026-04-19 10:19:36 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-27 05:01:56 -0600 |
| commit | bff3de1f84f8c5fcff6deee7b619f7064b5d4e19 (patch) | |
| tree | 761919113323d12ef5bca57092b525f658674fff /drivers | |
| parent | 629af58ab8273a5f78d8d2de13755cf670d50c52 (diff) | |
| download | linux-bff3de1f84f8c5fcff6deee7b619f7064b5d4e19.tar.gz linux-bff3de1f84f8c5fcff6deee7b619f7064b5d4e19.zip | |
staging: rtl8723bs: rename EnableInterrupt8723BSdio() to snake_case
Rename function EnableInterrupt8723BSdio() to
rtw_sdio_enable_interrupt() and format its description to comply with
Linux kernel coding style.
Declare this function without 'extern' prototype in the .h file to fix
checkpatch.pl warning.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260419072034.19824-11-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/rtl8723bs/hal/sdio_ops.c | 19 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/include/sdio_ops.h | 2 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 |
3 files changed, 10 insertions, 13 deletions
diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c index 653395ff4b1c..77a6a5c7ec7e 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_ops.c +++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c @@ -596,17 +596,14 @@ void InitSysInterrupt8723BSdio(struct adapter *adapter) haldata->SysIntrMask = (0); } -/* */ -/* Description: */ -/* Enalbe SDIO Host Interrupt Mask configuration on SDIO local domain. */ -/* */ -/* Assumption: */ -/* 1. Using SDIO Local register ONLY for configuration. */ -/* 2. PASSIVE LEVEL */ -/* */ -/* Created by Roger, 2011.02.11. */ -/* */ -void EnableInterrupt8723BSdio(struct adapter *adapter) +/* + * Enable SDIO Host Interrupt Mask configuration on SDIO local domain. + * + * Assumption: + * 1. Using SDIO Local register ONLY for configuration. + * 2. PASSIVE LEVEL + */ +void rtw_sdio_enable_interrupt(struct adapter *adapter) { struct hal_com_data *haldata; __le32 himr; diff --git a/drivers/staging/rtl8723bs/include/sdio_ops.h b/drivers/staging/rtl8723bs/include/sdio_ops.h index c7559a884608..7bb4b2047cc1 100644 --- a/drivers/staging/rtl8723bs/include/sdio_ops.h +++ b/drivers/staging/rtl8723bs/include/sdio_ops.h @@ -27,7 +27,7 @@ extern u8 CheckIPSStatus(struct adapter *padapter); extern void InitInterrupt8723BSdio(struct adapter *padapter); extern void InitSysInterrupt8723BSdio(struct adapter *padapter); -extern void EnableInterrupt8723BSdio(struct adapter *padapter); +void rtw_sdio_enable_interrupt(struct adapter *padapter); extern void DisableInterrupt8723BSdio(struct adapter *padapter); extern u8 HalQueryTxBufferStatus8723BSdio(struct adapter *padapter); extern void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *padapter); diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index 04b3836dab73..bcaaf85c386d 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -204,7 +204,7 @@ static void sd_intf_start(struct adapter *padapter) if (!padapter) return; - EnableInterrupt8723BSdio(padapter); + rtw_sdio_enable_interrupt(padapter); } static void sd_intf_stop(struct adapter *padapter) |
