]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: rename EnableInterrupt8723BSdio() to snake_case
authorNikolay Kulikov <nikolayof23@gmail.com>
Sun, 19 Apr 2026 07:19:36 +0000 (10:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:01:56 +0000 (05:01 -0600)
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>
drivers/staging/rtl8723bs/hal/sdio_ops.c
drivers/staging/rtl8723bs/include/sdio_ops.h
drivers/staging/rtl8723bs/os_dep/sdio_intf.c

index 653395ff4b1c55fcacc4f3557a87d5f12a2d5171..77a6a5c7ec7e3dbade56094473be88487003c6a8 100644 (file)
@@ -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;
index c7559a884608f87a877c38e02f57fd6a28ef748d..7bb4b2047cc1dcacb2fa049863747b299626f4ed 100644 (file)
@@ -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);
index 04b3836dab734771b5363eb9710801efd80ddc4d..bcaaf85c386d035b9887358f7ce99f183b64f06f 100644 (file)
@@ -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)