aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2019-11-05 09:51:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-05 18:08:52 +0100
commit664578d581a9699623255d6a7effbf563ff7cd79 (patch)
tree6cb6338a0823b443ace77a5050fed6a04cca7f15
parentstaging: wilc1000: remove 'wilc_' prefix from filenames (diff)
downloadwireguard-linux-664578d581a9699623255d6a7effbf563ff7cd79.tar.xz
wireguard-linux-664578d581a9699623255d6a7effbf563ff7cd79.zip
staging: wilc1000: added 'WILC_' prefix in header guard macro
Use 'WILC_' prefix in header guard to follow the proper naming convention for macro name. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Link: https://lore.kernel.org/r/20191105095058.24223-4-ajay.kathat@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/cfg80211.h4
-rw-r--r--drivers/staging/wilc1000/hif.h4
-rw-r--r--drivers/staging/wilc1000/netdev.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/cfg80211.h b/drivers/staging/wilc1000/cfg80211.h
index 05c910baf095..5e5d63f70df2 100644
--- a/drivers/staging/wilc1000/cfg80211.h
+++ b/drivers/staging/wilc1000/cfg80211.h
@@ -4,8 +4,8 @@
* All rights reserved.
*/
-#ifndef NM_WFI_CFGOPERATIONS
-#define NM_WFI_CFGOPERATIONS
+#ifndef WILC_CFG80211_H
+#define WILC_CFG80211_H
#include "netdev.h"
struct wiphy *wilc_cfg_alloc(void);
diff --git a/drivers/staging/wilc1000/hif.h b/drivers/staging/wilc1000/hif.h
index 2defe58ab194..22ee6fffd599 100644
--- a/drivers/staging/wilc1000/hif.h
+++ b/drivers/staging/wilc1000/hif.h
@@ -4,8 +4,8 @@
* All rights reserved.
*/
-#ifndef HOST_INT_H
-#define HOST_INT_H
+#ifndef WILC_HIF_H
+#define WILC_HIF_H
#include <linux/ieee80211.h>
#include "wlan_if.h"
diff --git a/drivers/staging/wilc1000/netdev.h b/drivers/staging/wilc1000/netdev.h
index 8bc62ce4f2f7..42e0eb192b86 100644
--- a/drivers/staging/wilc1000/netdev.h
+++ b/drivers/staging/wilc1000/netdev.h
@@ -4,8 +4,8 @@
* All rights reserved.
*/
-#ifndef WILC_WFI_NETDEVICE
-#define WILC_WFI_NETDEVICE
+#ifndef WILC_NETDEV_H
+#define WILC_NETDEV_H
#include <linux/tcp.h>
#include <linux/ieee80211.h>