staging: rtl8723bs: Fix camel-case in IS_FW_HEADER_EXIST_8723B().
authorQuytelda Kahja <quytelda@tamalin.org>
Tue, 22 May 2018 07:26:33 +0000 (00:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:47:22 +0000 (18:47 +0200)
Change the parameter of the macro to the snake case 'fw_hdr' instead
of '_pFwHdr'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtl8723b_hal.h

index 8ce4f7a..b4b54e3 100644 (file)
@@ -43,8 +43,8 @@
 #define FW_8723B_START_ADDRESS 0x1000
 #define FW_8723B_END_ADDRESS   0x1FFF /* 0x5FFF */
 
-#define IS_FW_HEADER_EXIST_8723B(_pFwHdr) \
-       ((le16_to_cpu(_pFwHdr->Signature) & 0xFFF0) == 0x5300)
+#define IS_FW_HEADER_EXIST_8723B(fw_hdr) \
+       ((le16_to_cpu(fw_hdr->Signature) & 0xFFF0) == 0x5300)
 
 struct rt_firmware {
        u32 ulFwLength;