diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-11-12 16:38:47 +0800 |
---|---|---|
committer | Hans-Christian Egtvedt <hegtvedt@cisco.com> | 2013-11-20 09:53:22 +0100 |
commit | e7f2c8c1f0e5b062c23001dac229e570228940e8 (patch) | |
tree | 228a988fa2a0c5da303504add19604cabb31b61c /arch/avr32/include/uapi/asm/swab.h | |
parent | dbc0d691a4dd7787efd94aa26fe7682a457e53d8 (diff) | |
download | op-kernel-dev-e7f2c8c1f0e5b062c23001dac229e570228940e8.zip op-kernel-dev-e7f2c8c1f0e5b062c23001dac229e570228940e8.tar.gz |
avr32: 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 remove redundant files (bitsperlong.h, errno.h, fcntl.h, ioctl.h,
ioctls.h, ipcbuf.h, kvm_para.h, mman.h, poll.h, resource.h, siginfo.h,
statfs.h, and unistd.h) which are already in Kbuild.
Also be sure that all "#endif" only have one empty line above, and each
file has guard macro.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'arch/avr32/include/uapi/asm/swab.h')
-rw-r--r-- | arch/avr32/include/uapi/asm/swab.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/avr32/include/uapi/asm/swab.h b/arch/avr32/include/uapi/asm/swab.h index 14cc737..1a03549 100644 --- a/arch/avr32/include/uapi/asm/swab.h +++ b/arch/avr32/include/uapi/asm/swab.h @@ -1,8 +1,8 @@ /* * AVR32 byteswapping functions. */ -#ifndef __ASM_AVR32_SWAB_H -#define __ASM_AVR32_SWAB_H +#ifndef _UAPI__ASM_AVR32_SWAB_H +#define _UAPI__ASM_AVR32_SWAB_H #include <linux/types.h> #include <linux/compiler.h> @@ -32,4 +32,4 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 val) #define __arch_swab32 __arch_swab32 #endif -#endif /* __ASM_AVR32_SWAB_H */ +#endif /* _UAPI__ASM_AVR32_SWAB_H */ |