summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/brcm80211/include')
-rw-r--r--drivers/staging/brcm80211/include/bcmdefs.h2
-rw-r--r--drivers/staging/brcm80211/include/bcmnvram.h4
-rw-r--r--drivers/staging/brcm80211/include/bcmutils.h2
-rw-r--r--drivers/staging/brcm80211/include/bcmwifi.h2
-rw-r--r--drivers/staging/brcm80211/include/msgtrace.h2
-rw-r--r--drivers/staging/brcm80211/include/osl.h2
-rw-r--r--drivers/staging/brcm80211/include/typedefs.h4
7 files changed, 7 insertions, 11 deletions
diff --git a/drivers/staging/brcm80211/include/bcmdefs.h b/drivers/staging/brcm80211/include/bcmdefs.h
index b152062..2e1f353 100644
--- a/drivers/staging/brcm80211/include/bcmdefs.h
+++ b/drivers/staging/brcm80211/include/bcmdefs.h
@@ -185,7 +185,7 @@ typedef struct {
/* define BCMSMALL to remove misc features for memory-constrained environments */
#define BCMSPACE
-#define bcmspace TRUE /* if (bcmspace) code is retained */
+#define bcmspace true /* if (bcmspace) code is retained */
/* Max. nvram variable table size */
#define MAXSZ_NVRAM_VARS 4096
diff --git a/drivers/staging/brcm80211/include/bcmnvram.h b/drivers/staging/brcm80211/include/bcmnvram.h
index 48e8d76..7fe95e7 100644
--- a/drivers/staging/brcm80211/include/bcmnvram.h
+++ b/drivers/staging/brcm80211/include/bcmnvram.h
@@ -88,7 +88,7 @@ extern int nvram_resetgpio_init(void *sih);
* Match an NVRAM variable.
* @param name name of variable to match
* @param match value to compare against value of variable
- * @return TRUE if variable is defined and its value is string equal
+ * @return true if variable is defined and its value is string equal
* to match or FALSE otherwise
*/
static inline int nvram_match(char *name, char *match)
@@ -101,7 +101,7 @@ static inline int nvram_match(char *name, char *match)
* Inversely match an NVRAM variable.
* @param name name of variable to match
* @param match value to compare against value of variable
- * @return TRUE if variable is defined and its value is not string
+ * @return true if variable is defined and its value is not string
* equal to invmatch or FALSE otherwise
*/
static inline int nvram_invmatch(char *name, char *invmatch)
diff --git a/drivers/staging/brcm80211/include/bcmutils.h b/drivers/staging/brcm80211/include/bcmutils.h
index 5844d36..5edb50d 100644
--- a/drivers/staging/brcm80211/include/bcmutils.h
+++ b/drivers/staging/brcm80211/include/bcmutils.h
@@ -482,7 +482,7 @@
typedef u32 mbool;
#define mboolset(mb, bit) ((mb) |= (bit)) /* set one bool */
#define mboolclr(mb, bit) ((mb) &= ~(bit)) /* clear one bool */
-#define mboolisset(mb, bit) (((mb) & (bit)) != 0) /* TRUE if one bool is set */
+#define mboolisset(mb, bit) (((mb) & (bit)) != 0) /* true if one bool is set */
#define mboolmaskset(mb, mask, val) ((mb) = (((mb) & ~(mask)) | (val)))
/* power conversion */
diff --git a/drivers/staging/brcm80211/include/bcmwifi.h b/drivers/staging/brcm80211/include/bcmwifi.h
index 20ae84e..4067fba 100644
--- a/drivers/staging/brcm80211/include/bcmwifi.h
+++ b/drivers/staging/brcm80211/include/bcmwifi.h
@@ -132,7 +132,7 @@ typedef u16 chanspec_t;
* Verify the chanspec is using a legal set of parameters, i.e. that the
* chanspec specified a band, bw, ctl_sb and channel and that the
* combination could be legal given any set of circumstances.
- * RETURNS: TRUE is the chanspec is malformed, false if it looks good.
+ * RETURNS: true is the chanspec is malformed, false if it looks good.
*/
extern bool wf_chspec_malformed(chanspec_t chanspec);
diff --git a/drivers/staging/brcm80211/include/msgtrace.h b/drivers/staging/brcm80211/include/msgtrace.h
index a4cf8d2..25b1661 100644
--- a/drivers/staging/brcm80211/include/msgtrace.h
+++ b/drivers/staging/brcm80211/include/msgtrace.h
@@ -44,7 +44,7 @@ typedef BWL_PRE_PACKED_STRUCT struct msgtrace_hdr {
/* The hbus driver generates traces when sending a trace message.
* This causes endless traces.
- * This flag must be set to TRUE in any hbus traces.
+ * This flag must be set to true in any hbus traces.
* The flag is reset in the function msgtrace_put.
* This prevents endless traces but generates hasardous
* lost of traces only in bus device code.
diff --git a/drivers/staging/brcm80211/include/osl.h b/drivers/staging/brcm80211/include/osl.h
index cd09f3c..a9aee5c 100644
--- a/drivers/staging/brcm80211/include/osl.h
+++ b/drivers/staging/brcm80211/include/osl.h
@@ -53,7 +53,7 @@ typedef void (*osl_wreg_fn_t) (void *ctx, void *reg, unsigned int val,
#define OSL_SYSUPTIME() (0)
#define OSL_SYSUPTIME_SUPPORT FALSE
#else
-#define OSL_SYSUPTIME_SUPPORT TRUE
+#define OSL_SYSUPTIME_SUPPORT true
#endif /* OSL_SYSUPTIME */
#endif /* _osl_h_ */
diff --git a/drivers/staging/brcm80211/include/typedefs.h b/drivers/staging/brcm80211/include/typedefs.h
index 7c237ce..9e63ea6 100644
--- a/drivers/staging/brcm80211/include/typedefs.h
+++ b/drivers/staging/brcm80211/include/typedefs.h
@@ -34,10 +34,6 @@ typedef unsigned int uintptr;
#define FALSE 0
#endif
-#ifndef TRUE
-#define TRUE 1 /* TRUE */
-#endif
-
#ifndef OFF
#define OFF 0
#endif
OpenPOWER on IntegriCloud