summaryrefslogtreecommitdiff
path: root/drivers/staging/csr/csr_macro.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-26 23:29:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-26 23:29:09 (GMT)
commit31370f7e57b5a9f95457fb583354474f7e39fa3e (patch)
tree16b49fb81446275309e5d5aae79af24b748f77c6 /drivers/staging/csr/csr_macro.h
parent1bbffe726e00f1f79ba1b8cf0cbd78223c995c0f (diff)
downloadlinux-fsl-qoriq-31370f7e57b5a9f95457fb583354474f7e39fa3e.tar.xz
Staging: csr: remove __cplusplus nonsense from the .h files
In the kernel, we use C. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_macro.h')
-rw-r--r--drivers/staging/csr/csr_macro.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/csr/csr_macro.h b/drivers/staging/csr/csr_macro.h
index 57cbfcb..3dcb2bd 100644
--- a/drivers/staging/csr/csr_macro.h
+++ b/drivers/staging/csr/csr_macro.h
@@ -12,10 +12,6 @@
#include <linux/types.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define FALSE (0)
#define TRUE (1)
@@ -107,8 +103,4 @@ extern "C" {
#define CSR_TOLOWER(character) (((character) >= 'A') && ((character) <= 'Z') ? ((character) + 0x20) : (character))
#define CSR_ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
-#ifdef __cplusplus
-}
-#endif
-
#endif