瀏覽代碼

headers_check fix: x86, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/swab.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Jaswinder Singh Rajput 16 年之前
父節點
當前提交
7cff3608d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/include/asm/swab.h

+ 1 - 1
arch/x86/include/asm/swab.h

@@ -1,7 +1,7 @@
 #ifndef _ASM_X86_SWAB_H
 #ifndef _ASM_X86_SWAB_H
 #define _ASM_X86_SWAB_H
 #define _ASM_X86_SWAB_H
 
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/compiler.h>
 #include <linux/compiler.h>
 
 
 static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
 static inline __attribute_const__ __u32 __arch_swab32(__u32 val)