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 _BFIN_FCNTL_H
#define _BFIN_FCNTL_H
#ifndef _UAPI_BFIN_FCNTL_H
#define _UAPI_BFIN_FCNTL_H
#define O_DIRECTORY 040000 /* must be a directory */
#define O_NOFOLLOW 0100000 /* don't follow links */
@@ -14,4 +14,4 @@
#include <asm-generic/fcntl.h>
#endif
#endif /* _UAPI_BFIN_FCNTL_H */