]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: x86, swab.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 17:27:38 +0000 (22:57 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 18:49:32 +0000 (00:19 +0530)
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>
arch/x86/include/asm/swab.h

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