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>
This commit is contained in:
Chen Gang
2013-11-12 17:04:04 +08:00
committed by Steven Miao
parent d8ec26d7f8
commit 1337650935
11 changed files with 35 additions and 30 deletions

View File

@@ -4,8 +4,8 @@
* Licensed under the GPL-2 or later.
*/
#ifndef _BLACKFIN_SWAB_H
#define _BLACKFIN_SWAB_H
#ifndef _UAPI_BLACKFIN_SWAB_H
#define _UAPI_BLACKFIN_SWAB_H
#include <linux/types.h>
#include <asm-generic/swab.h>
@@ -47,4 +47,4 @@ static __inline__ __attribute_const__ __u16 __arch_swab16(__u16 xx)
#endif /* __GNUC__ */
#endif /* _BLACKFIN_SWAB_H */
#endif /* _UAPI_BLACKFIN_SWAB_H */