staging: r8822be: fix typos in header guard macros
authorColin Ian King <colin.king@canonical.com>
Sun, 25 Mar 2018 17:05:21 +0000 (18:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 09:54:38 +0000 (11:54 +0200)
The macros for __PHYDMKFREE_H__ and __PHYDM_FEATURES_H__ contain
typos and don't match the #if guard check. Defined them correctly.

Cleans up clang warnings:
warning: '__PHYDMKFREE_H__' is used as a header guard here, followed
by #define of a different macro [-Wheader-guard]
warning: '__PHYDM_FEATURES_H__' is used as a header guard here, followed
by #define of a different macro [-Wheader-guard]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/phydm/phydm_features.h
drivers/staging/rtlwifi/phydm/phydm_kfree.h

index 37f6f0cd7235042bc2e78b6403956a8b6373524d..a12361c6a1a06bc154105b5c7fbb426d13f585bf 100644 (file)
@@ -24,7 +24,7 @@
  *****************************************************************************/
 
 #ifndef __PHYDM_FEATURES_H__
-#define __PHYDM_FEATURES
+#define __PHYDM_FEATURES_H__
 
 /*phydm debyg report & tools*/
 
index 1ee60059afc181e15911a957a7a645ae88b32f1f..fa1627e3662d6357c6295291af954d25689b8c0f 100644 (file)
@@ -24,7 +24,7 @@
  *****************************************************************************/
 
 #ifndef __PHYDMKFREE_H__
-#define __PHYDKFREE_H__
+#define __PHYDMKFREE_H__
 
 #define KFREE_VERSION "1.0"