diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-03-25 18:05:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 11:54:38 +0200 |
commit | 250f26c5848c26577c29e200983ef16189376a37 (patch) | |
tree | 85e61ab0c37e4d2e642dd12b7e40a6db7ce9eea9 /drivers/staging/rtlwifi | |
parent | 626118b472d2eb45f83a0276a18d3e6a01c69f6a (diff) |
staging: r8822be: fix typos in header guard macros
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>
Diffstat (limited to 'drivers/staging/rtlwifi')
-rw-r--r-- | drivers/staging/rtlwifi/phydm/phydm_features.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtlwifi/phydm/phydm_kfree.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtlwifi/phydm/phydm_features.h b/drivers/staging/rtlwifi/phydm/phydm_features.h index 37f6f0cd7235..a12361c6a1a0 100644 --- a/drivers/staging/rtlwifi/phydm/phydm_features.h +++ b/drivers/staging/rtlwifi/phydm/phydm_features.h @@ -24,7 +24,7 @@ *****************************************************************************/ #ifndef __PHYDM_FEATURES_H__ -#define __PHYDM_FEATURES +#define __PHYDM_FEATURES_H__ /*phydm debyg report & tools*/ diff --git a/drivers/staging/rtlwifi/phydm/phydm_kfree.h b/drivers/staging/rtlwifi/phydm/phydm_kfree.h index 1ee60059afc1..fa1627e3662d 100644 --- a/drivers/staging/rtlwifi/phydm/phydm_kfree.h +++ b/drivers/staging/rtlwifi/phydm/phydm_kfree.h @@ -24,7 +24,7 @@ *****************************************************************************/ #ifndef __PHYDMKFREE_H__ -#define __PHYDKFREE_H__ +#define __PHYDMKFREE_H__ #define KFREE_VERSION "1.0" |