浏览代码

[ARM] byteorder.h needs linux/compiler.h

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 年之前
父节点
当前提交
fe5dd7c73d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-arm/byteorder.h

+ 1 - 0
include/asm-arm/byteorder.h

@@ -15,6 +15,7 @@
 #ifndef __ASM_ARM_BYTEORDER_H
 #ifndef __ASM_ARM_BYTEORDER_H
 #define __ASM_ARM_BYTEORDER_H
 #define __ASM_ARM_BYTEORDER_H
 
 
+#include <linux/compiler.h>
 #include <asm/types.h>
 #include <asm/types.h>
 
 
 static inline __attribute_const__ __u32 ___arch__swab32(__u32 x)
 static inline __attribute_const__ __u32 ___arch__swab32(__u32 x)