aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/uapi/asm/swab.h
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-11-12 04:04:04 -0500
committerSteven Miao <realmz6@gmail.com>2014-01-29 02:11:06 -0500
commit133765093514628a82c232551d2517364d75a46d (patch)
tree81b6a703aa67be282275deec881b216388b188db /arch/blackfin/include/uapi/asm/swab.h
parentd8ec26d7f8287f5788a494f56e8814210f0e64be (diff)
arch: blackfin: uapi: be sure of "_UAPI" prefix for all guard macros
For all uapi headers, need use "_UAPI" prefix for its guard macro (which will be stripped by "scripts/headers_installer.sh"). Also be sure that all files have their guard macros. Also be sure that all "#endif" are followed with comments, and no '\t' for guard macro Signed-off-by: Chen Gang <gang.chen@asianux.com>
Diffstat (limited to 'arch/blackfin/include/uapi/asm/swab.h')
-rw-r--r--arch/blackfin/include/uapi/asm/swab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/include/uapi/asm/swab.h b/arch/blackfin/include/uapi/asm/swab.h
index 89de6507ca2b..f5626b77684a 100644
--- a/arch/blackfin/include/uapi/asm/swab.h
+++ b/arch/blackfin/include/uapi/asm/swab.h
@@ -4,8 +4,8 @@
4 * Licensed under the GPL-2 or later. 4 * Licensed under the GPL-2 or later.
5 */ 5 */
6 6
7#ifndef _BLACKFIN_SWAB_H 7#ifndef _UAPI_BLACKFIN_SWAB_H
8#define _BLACKFIN_SWAB_H 8#define _UAPI_BLACKFIN_SWAB_H
9 9
10#include <linux/types.h> 10#include <linux/types.h>
11#include <asm-generic/swab.h> 11#include <asm-generic/swab.h>
@@ -47,4 +47,4 @@ static __inline__ __attribute_const__ __u16 __arch_swab16(__u16 xx)
47 47
48#endif /* __GNUC__ */ 48#endif /* __GNUC__ */
49 49
50#endif /* _BLACKFIN_SWAB_H */ 50#endif /* _UAPI_BLACKFIN_SWAB_H */