diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-08-25 03:59:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-08-28 14:41:56 -0400 |
commit | c94c3c5e5e6bb3dd4041490a0202bab6e4c6e424 (patch) | |
tree | 92c3c0893c388cef0c6bcc06618d72f0775e78a0 /drivers/net/wireless/ray_cs.h | |
parent | ecf47e9bb796558423fa87b43a8fe55f086ca56e (diff) |
ray_cs: Add include guards
The files ray_cs.h and rayctl.h both contain two thirds of what
appears to be an include guard using the macro name RAYLINK_H (both
lack the #define). Since RAYLINK_H is not defined anywhere, the
#ifndefs are confusing no-ops. Add proper include guards using
different macro names.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ray_cs.h')
-rw-r--r-- | drivers/net/wireless/ray_cs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ray_cs.h b/drivers/net/wireless/ray_cs.h index e79848fbcca1..524c2f02dd82 100644 --- a/drivers/net/wireless/ray_cs.h +++ b/drivers/net/wireless/ray_cs.h | |||
@@ -3,7 +3,8 @@ | |||
3 | Written by Corey Thomas | 3 | Written by Corey Thomas |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef RAYLINK_H | 6 | #ifndef _RAY_CS_H_ |
7 | #define _RAY_CS_H_ | ||
7 | 8 | ||
8 | struct beacon_rx { | 9 | struct beacon_rx { |
9 | struct mac_header mac; | 10 | struct mac_header mac; |
@@ -69,4 +70,4 @@ typedef struct ray_dev_t { | |||
69 | } ray_dev_t; | 70 | } ray_dev_t; |
70 | /*****************************************************************************/ | 71 | /*****************************************************************************/ |
71 | 72 | ||
72 | #endif /* RAYLINK_H */ | 73 | #endif /* _RAY_CS_H_ */ |